SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Apr 2003
    Posts
    208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help Installing!

    Hey

    I've tried installing ruby on rails a number of times without success. I managed to install ruby easily, it's the rails part I'm having trouble with.

    I'm on a Windows XP Pro OS.


    RubyGems hangs while updating the source index.

    I have a problem with RubyGems. It doesn’t matter what I try to install with, it freezez.

    Particulary I tried to execute: gem install rails—include-dependencies

    but the command freezez at the following message:

    "Updating Gem source index for: http://gems.rubyforge.org"

    Any help?

    Regards,
    Chris

  2. #2
    SitePoint Guru
    Join Date
    Aug 2005
    Posts
    986
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The source index update takes a few minutes if you have a slow connection or if the server is down/overused.

    Just wait a few minutes.

    There is a download from RubyForge if rubygems doesn't work:
    http://rubyforge.org/frs/?group_id=307

  3. #3
    SitePoint Zealot
    Join Date
    Nov 2004
    Location
    Yakima WA.
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is a conflict with windows firewalls and ruby socket code. If you have ZoneAlarm or something similar installed you need to completely uninstall it for the ruby socket code to work. Gems needs the sockets to communicate with the gem server. this will also affect ruby code that uses Net::HTTP or OpenUri.

    It won't be enough to just turn of zonealarm you will have to completely uninstall it.


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
  •