SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Nov 2008
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ruby on Rails in Windows HTTP 302 Error?

    Hello,
    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

  2. #2
    SitePoint Member
    Join Date
    Sep 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  3. #3
    Chopped Liver bronze trophy imaginekitty's Avatar
    Join Date
    Aug 2007
    Location
    Pennsyltucky
    Posts
    1,494
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Apparently a lot changed from rails 2 to rails 3. The latest version of rails is 3.1

  4. #4
    SitePoint Enthusiast
    Join Date
    Feb 2003
    Location
    Akron, OH, USA
    Posts
    99
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    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.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •