I got the following error when try to install rails-3.0.0 on my Ubuntu box. Can anybody help?
dwang@dwang-bj-ws:~/Projects$ sudo gem install rails Successfully installed rails-3.0.0 1 gem installed Installing ri documentation for rails-3.0.0... File not found: lib
dwang@dwang-bj-ws:~/Projects$ sudo gem install rails Successfully installed rails-3.0.0 1 gem installed Installing ri documentation for rails-3.0.0... File not found: lib dwang@dwang-bj-ws:~/Projects$ ruby gem ruby: No such file or directory -- gem (LoadError) dwang@dwang-bj-ws:~/Projects$ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.7 - RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /usr/bin/ruby1.8 - EXECUTABLE DIRECTORY: /usr/bin - RUBYGEMS PLATFORMS: - ruby - x86_64-linux - GEM PATHS: - /usr/lib/ruby/gems/1.8 - /home/dwang/.gem/ruby/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/ dwang@dwang-bj-ws:~/Projects$