#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Location
    Overland Park
    Posts
    170
    Rep Power
    19

    Cannot install Rails


    Hello. I am having an issue installing Rails 3. I have gotten Ruby installed and made "Hello World" and that is about all, so forgive my lack of knowledge here.

    I issue:

    Code:
    sudo gem install rails --prerelease --debug -V
    I get:

    Code:
    GET 302 Found: http://gems.rubyforge.org/quick/Marshal.4.8/activesupport-3.0.0.rc2.gemspec.rz
    GET 200 OK: http://production.s3.rubygems.org/quick/Marshal.4.8/activesupport-3.0.0.rc2.gemspec.rz
    Installing gem activemodel-3.0.0.rc2
    Exception `NoMethodError' at /usr/lib/ruby/1.9.1/rubygems/package/tar_input.rb:48 - undefined method `readpartial' for #<Gem::Package::TarReader::Entry:0x0000000294b5e0>
    Exception `IOError' at /usr/lib/ruby/1.9.1/rubygems/format.rb:50 - closed stream
    Exception `Errno::EEXIST' at /usr/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /var/lib/gems/1.9.1
    Exception `Gem::InstallError' at /usr/lib/ruby/1.9.1/rubygems/installer.rb:255 - activemodel requires builder (~> 2.1.2, runtime)
    ERROR:  Error installing rails:
    	activemodel requires builder (~> 2.1.2, runtime)
    Any help would be appreciated.
    PHP HQ | Python HQ | Smarty HQ | MySQL HQ | Wiki4Coders
    0100001001111001011101000110010100100000011011010110010100100001
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Location
    Overland Park
    Posts
    170
    Rep Power
    19
    I uninstalled and deleted everything and ran ...

    sudo apt-get install ruby1.9

    sudo apt-get install rubygems1.9

    sudo apt-get install sqlite

    sudo bundle install

    sudo gem install rails
    PHP HQ | Python HQ | Smarty HQ | MySQL HQ | Wiki4Coders
    0100001001111001011101000110010100100000011011010110010100100001

IMN logo majestic logo threadwatch logo seochat tools logo