Installing Ruby On Rails (Windows 7)
I will do a quick guide on how to install Ruby on Rails on a Windows machine.
Things you'll need to download:
A development kit, I'll be using one called DevKit-tdm-32-4.5.2-20111229-1559-sfx
When you've downloaded Ruby installer, run it and you should see a window like this:
You don't need to check any of the boxes, leave it as it is.
Extract the DevKit to any folder you want, and remember the folders location.
Now I will asume that you've put into C:\DevKit
The next thing you'll need to do is to search for a program called "Start command prompt with ruby".
Open the command prompt and type a command This will select the folder we'll be loading the kit from.
Go on and type When you see a message
Enter the next line
Initialization complete! Please review and modify the auto-generated'config.yml' file to ensure it contains the root directories to all of the installed Rubies you want enhanced by the DevKit.
After a couple of lines you'll see that you've succesfully implemented the Development kit.
Extract your downloaded rubygems into a folder, and go there with CD
Note: x.x.x means your version of RubyGems.
This will install the gems.
Now go back to the bin folder by writing:
Note: Ruby folder name may vary according to the current version.
And enter a line
Wait for a couple of minutes and when the lines stop, check if you've installed everything correctly by writing:
gem install -r rails
If you don't get any error messages, congratulations, you've just installed Ruby On Rails.
To be continued...