I am trying to learn Ruby on Rails from the Sitepoint book Simply Rails 2. I have downloaded the InstantRails installation file and followed the instructions in the book. however when I try to run the update command:
gem update --system
I get the error HTTP Response 302 fetching http//gems.rubyforge.org/yaml
I cannot see what I have done wrong, please can anybody help and explain what I need to do? I am a newbie to Ruby and using the command line interface. Many thanks
I have the exact same problem. I'm on windows 7. Google search indicates that many, many people have the same problem. The responses are generally along the lines of upgrading to a higher version of Ruby, which means that the code in the book might not work.
A lot has changed since the book was written. However, you can still use it to learn Rails. Here's what you need to do:
First, Instant Rails is and has been dead. Get rid of it. The preferred way to use Ruby and Rails on a Windows box is to use Rails Installer. (http://www.railsinstaller.org)
This should solve most of your problems with using Ruby on Windows.
If you want you can always add a version of Rails 2.x to your system after the fact if you want to work through the book. Otherwise if you find something that breaks just check the Rails docs to see what has changed from 2.0 to 3.0.