@
daqing ruby版本 ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.7.4], MBARI 0x6770, Ruby Enterprise Edition 2011.03
gem版本 1.8.5
gem install rails --debug -V 输出:
Exception `NameError' at /Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:177 - uninitialized constant Gem::Commands::InstallCommand
Exception `LoadError' at /Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36 - no such file to load -- psych
Exception `LoadError' at /Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:62 - no such file to load -- psych
Exception `IOError' at /Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/format.rb:45 - closed stream
GET
http://rubygems.org/latest_specs.4.8.gz302 Found
GET
http://production.s3.rubygems.org/latest_specs.4.8.gz200 OK
Exception `Errno::EEXIST' at /Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/fileutils.rb:243 - File exists - /Users/blankyao/.gem/specs/
rubygems.org%80
GET
http://rubygems.org/specs.4.8.gzException `EOFError' at /Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/net/protocol.rb:135 - end of file reached
Exception `EOFError' at /Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/net/protocol.rb:120 - end of file reached
Exception `EOFError' at /Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/net/http.rb:1060 - end of file reached
connection reset after 2 requests, retrying
GET
http://rubygems.org/specs.4.8.gzException `EOFError' at /Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/net/protocol.rb:135 - end of file reached
302 Found
GET http://211.162.127.13/download/1436368/1520540/3/gz/93/23/1280600073565_279/specs.4.8.gz
200 OK
Exception `Errno::EEXIST' at /Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/fileutils.rb:243 - File exists - /Users/blankyao/.gem/specs/
rubygems.org%80
Exception `Gem::DependencyError' at /Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:153 - Unable to resolve dependencies: rails requires activesupport (= 2.2.3), activerecord (= 2.2.3), actionpack (= 2.2.3), actionmailer (= 2.2.3), activeresource (= 2.2.3)
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: rails requires activesupport (= 2.2.3), activerecord (= 2.2.3), actionpack (= 2.2.3), actionmailer (= 2.2.3), activeresource (= 2.2.3)
/Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:153:in `gather_dependencies'
/Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:267:in `install'
/Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:121:in `execute'
/Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:115:in `each'
/Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:115:in `execute'
/Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/command.rb:278:in `invoke'
/Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:147:in `process_args'
/Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:117:in `run'
/Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:65:in `run'
/Users/blankyao/.rvm/rubies/ree-1.8.7-2011.03/bin/gem:21