SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot
    Join Date
    Sep 2006
    Posts
    188
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    InstantRails Installation Problem

    Ok, I am currently following Patrick Lenz's Ruby on Rails sample PDF guide - as I may be looking into getting the book. However, when installing a come across an error - when installing the final part in the Ruby Console. Obviously I'm on a Windows Machine. This particular one is XP Service Pack 2 and I downloaded the exact same InstantRails version (1.3a) as the book.



    Yes, I installed it directly onto C:\ and everything as it said in the book. I cannot see what's wrong. I'm pretty new (Well, completely new) to RoR as you can see. It looks pretty darn good though.

    Can any of you guys help?

  2. #2
    SitePoint Guru
    Join Date
    Aug 2005
    Posts
    986
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What is the problem?

    Gem tells you that there is no rails.gem file on your machine. This is all right, because gem will download it for you. Just wait a little longer and gem will install Rails.

  3. #3
    SitePoint Zealot
    Join Date
    Sep 2006
    Posts
    188
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fenrir2 View Post
    What is the problem?

    Gem tells you that there is no rails.gem file on your machine. This is all right, because gem will download it for you. Just wait a little longer and gem will install Rails.
    I've left it for around 5 mins now... nothing. Still going. But still, nothing.

    EDIT 1:

    Ok, new error. I've downloaded rails.gem manully and it finds it. However it says it needs Activesupport 1.4.1. So I downloaded that and but it says this when trying to install Activesupport.

    error installing gem activesupport[.gem]: string contains null byte.

    Any ideas?
    Last edited by ChrisGilmore; Feb 25, 2007 at 12:44. Reason: New info.

  4. #4
    SitePoint Guru
    Join Date
    Aug 2005
    Posts
    986
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try to update RubyGems:

    Code:
    gem update --system
    Then try:

    Code:
    gem install rails --include-dependencies

  5. #5
    SitePoint Zealot
    Join Date
    Sep 2006
    Posts
    188
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fenrir2 View Post
    Try to update RubyGems:
    Code:
    gem update --system
    I've tried that. I get "Upgrading RubyGems" then nothing - and i've left it for hours while I was out.


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
  •