RUBY_SETUP.md in physique-0.3.10 vs RUBY_SETUP.md in physique-0.4.0

- old
+ new

@@ -1,8 +1,9 @@ # Installing Ruby on Windows * The [Chocolatey Package Manager](http://chocolatey.org/) makes installing Ruby a breeze. Think of it as NuGet for your machine. To install it, follow the instructions on [their website](http://chocolatey.org/). + * Certain Chocolatey packages might not work with older versions of Powershell so update it to the latest version. ``` $ choco install powershell ``` @@ -12,29 +13,28 @@ ``` $ choco install ruby ``` * Restart your shell to refresh the environment variables. + +* After restarting, check that ruby is installed by running the following. Note that your version may be slightly different: + + ``` + $ ruby --version + ruby 2.2.3p173 (2015-08-18 revision 51636) [x64-mingw32] + ``` + * Install Ruby DevKit. ``` $ choco install ruby2.devkit ``` -* Check that ruby is installed by running the following. Note that your version may be slightly different: +* Register Ruby with DevKit. ``` - $ ruby --version - ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32] + $ cd \tools\DevKit2 + $ echo - C:/tools/ruby22 >> config.yml + $ ruby dk.rb install --force ``` -## Troubleshooting - -When installing Ruby DevKit, it should automatically register itself with the -installed ruby version. However, you may need to configure Ruby DevKit manually -by running the following. - -``` -$ cd \tools\DevKit2 -$ echo "- C:/tools/ruby215" >> config.yml -$ ruby dk.rb install --force -``` \ No newline at end of file +You should now be ready to Ruby!