Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Error when updating/install Rails 3

#5507

When it tries to install documentation, I get this error:

File not found: lib

gem list:

:~$ gem list

LOCAL GEMS

abstract (1.0.0)
actionmailer (3.0.0, 2.3.8, 2.3.5)
actionpack (3.0.0, 2.3.8, 2.3.5)
activemodel (3.0.0)
activerecord (3.0.0, 2.3.8, 2.3.5)
activeresource (3.0.0, 2.3.8, 2.3.5)
activesupport (3.0.0, 2.3.8, 2.3.5)
arel (1.0.1)
authlogic (2.1.6)
builder (2.1.2)
bundler (1.0.0)
cgi_multipart_eof_fix (2.5.0)
configuration (1.1.0)
cucumber (0.8.5)
daemons (1.1.0)
diff-lcs (1.1.2)
erubis (2.6.6)
factory_girl (1.3.2)
fastthread (1.0.7)
ffi (0.6.3)
gem_plugin (0.2.3)
gherkin (2.2.0, 2.1.5)
heroku (1.9.13)
hirb (0.3.3)
i18n (0.4.1)
json_pure (1.4.6)
launchy (0.3.7)
mail (2.2.5)
mime-types (1.16)
mongrel (1.1.5)
nokogiri (1.4.3.1)
polyglot (0.3.1)
rack (1.2.1, 1.1.0, 1.0.1)
rack-mount (0.6.12)
rack-test (0.5.4)
rails (3.0.0, 2.3.8, 2.3.5)
railties (3.0.0)
rake (0.8.7)
redcar (0.4.1)
RedCloth (4.2.3)
rest-client (1.6.1, 1.4.2)
rspec (1.3.0)
rspec-rails (1.3.2)
rubyzip (0.9.4)
sequel (3.14.0, 3.13.0)
sinatra (1.0)
sqlite3-ruby (1.3.1)
taps (0.3.11)
term-ansicolor (1.0.5)
thor (0.14.0)
treetop (1.4.8)
trollop (1.16.2)
tzinfo (0.3.23)
webrat (0.7.1)

Reported by Aaron Aberg · August 31st, 2010 @ 07:31 AM

State: stale
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Jim Mitchener
    Jim Mitchener

    I can confirm this running Ruby 1.8.7p249 and latest rubygems 1.8.7. #5499 gem install rails 3.0.0 crashes without building rdocs claims you simply need latest rdoc but that doesn't work for me.

    jcm@jcm-desktop:~ > ruby -v && gem -v
    ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
    1.3.7
    jcm@jcm-desktop:~ > sudo gem update
    [sudo] password for jcm: 
    Updating installed gems
    Nothing to update
    jcm@jcm-desktop:~ > sudo gem rdoc rails
    Installing ri documentation for rails-3.0.0...
    File not found: lib
    jcm@jcm-desktop:~ >
    

    September 12th, 2010 @ 10:03 PM

  2. Drew Stephens
    Drew Stephens

    Confirming this for Ruby 1.8.7p302 with gem 1.3.7, except installing rdoc does fix it in my case:

    Vespasian:~$ sudo gem install rails
    <SNIP>
    File not found: lib
    Vespasian:~$ ruby -v
    ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10]
    Vespasian:~$ sudo gem install rdoc rails
    <SNIP>
    Successfully installed rdoc-2.5.11
    Successfully installed rails-3.0.1
    2 gems installed
    Installing ri documentation for rdoc-2.5.11...
    Installing ri documentation for rails-3.0.1...
    Installing RDoc documentation for rdoc-2.5.11...
    Installing RDoc documentation for rails-3.0.1...
    

    Though the workaround is trivial, it's a pretty bad introduction to Rails. I saw the message "File not found: lib" followed by being returned to my shell and thought that the entire installation of Rails had failed. It wasn't until I did some searching and stumbled across this answer on Stack Overflow.

    October 30th, 2010 @ 06:29 AM

  3. Jeff Kreeftmeijer
    Jeff Kreeftmeijer
    • Tag cleared.
    • Importance changed from to Low

    Automatic cleanup of spam.

    November 1st, 2010 @ 05:02 PM

  4. Santiago Pastorino
    Santiago Pastorino
    • State changed from new to open

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

    February 2nd, 2011 @ 04:20 PM

  5. Santiago Pastorino
    Santiago Pastorino
    • State changed from open to stale

    February 2nd, 2011 @ 04:21 PM