Note that there are some explanatory texts on larger screens.

plurals
  1. POInstalling Ruby on Rails on Ubuntu 11.04 failed: file 'lib' not found
    text
    copied!<p>I followed <a href="http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/" rel="nofollow">this instruction</a> to install Ruby on Rails on my ubuntu 11.04, but always got this error message:</p> <pre><code>feicun@feicun-ubuntu:~$ gem install rails Successfully installed rails-3.0.9 1 gem installed Installing ri documentation for rails-3.0.9... file 'lib' not found Installing RDoc documentation for rails-3.0.9... file 'lib' not found </code></pre> <p>I googled this problem, which means the documentations could not be build, but rails 3.0.9 is installed. To solve this problem, I tried two method:</p> <ol> <li><p>create a "lib" folder in rails' folder</p> <p>sudo mkdir /home/feicun/.rvm/gems/ruby-1.9.2-p290/gems/rails-3.0.9/lib</p></li> <li><p>run "<code>gem install rdoc</code>" before install rails</p></li> </ol> <p>But both of these methods are not work for me, these is still haven't lib folder in rails-3.0.9 folder.</p> <p>This is my environment:</p> <pre><code>feicun@feicun-ubuntu:~$ which ruby /home/feicun/.rvm/rubies/ruby-1.9.2-p290/bin/ruby feicun@feicun-ubuntu:~$ which gem /home/feicun/.rvm/rubies/ruby-1.9.2-p290/bin/gem feicun@feicun-ubuntu:~$ which rails /home/feicun/.rvm/gems/ruby-1.9.2-p290/bin/rails feicun@feicun-ubuntu:~$ gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.8.6 - RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [i686-linux] - INSTALLATION DIRECTORY: /home/feicun/.rvm/gems/ruby-1.9.2-p290 - RUBY EXECUTABLE: /home/feicun/.rvm/rubies/ruby-1.9.2-p290/bin/ruby - EXECUTABLE DIRECTORY: /home/feicun/.rvm/gems/ruby-1.9.2-p290/bin - RUBYGEMS PLATFORMS: - ruby - x86-linux - GEM PATHS: - /home/feicun/.rvm/gems/ruby-1.9.2-p290 - /home/feicun/.rvm/gems/ruby-1.9.2-p290@global - GEM CONFIGURATION: - :update_sources =&gt; true - :verbose =&gt; true - :benchmark =&gt; false - :backtrace =&gt; false - :bulk_threshold =&gt; 1000 - REMOTE SOURCES: - http://rubygems.org/ </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload