It happens that Ruby 1.8.7 is recommended for the current Rails version but there is no one-click installer available for windows the time being. Not a problem, just follow the few steps below:
Update: InstantRails is pretty outdated. Use Rubyinstaller form http://rubyinstaller.org/ to install Ruby on Windows. - Thanks Christof, you’re right! Time has past and so has InstantRails ;)
- Download the Ruby 1.8.7 binaries
- Extract them to whatever folder you like (e.g
- Add the folder
c:\ruby\bin(or whatever folder you extracted Ruby to) to windows
PATHvariable (how to?)
- There are some DLL files missing in the Ruby folder. The easiest is to download the latest InstantRails version, extract it and copy all DLL files from the InstantRails folder
ruby/binto your Ruby
- Rename the DLL ‘zlib1.dll’ to ‘zlib.dll’
That’s it, you’re done :)
To also install and run Rails, simply download rubygems and run
ruby setup.rb from the command line inside the folder you extracted rubygems to.
Then Install rails with
gem install rails
Hope this was helpful. If you’ve got any question just drop a comment or contact me.