I've installed Ruby 1.8.6 and Rubygems 1.1.1 in my VPS hosting account
on eApps.com. I've tried to install Rails several times, without
success. I then went through the following sequence:
# gem install rails --include-dependencies
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Updating metadata for 476 gems from
http://gems.rubyforge.org/
.................................................................................................<snip>
complete
Bulk updating Gem source index for:
http://gems.rubyforge.org/
Terminated
# gem install rails --include-dependencies
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Bulk updating Gem source index for:
http://gems.rubyforge.org/
Successfully installed rake-0.8.1
Successfully installed activesupport-2.1.0
Successfully installed activerecord-2.1.0
Successfully installed actionpack-2.1.0
Successfully installed actionmailer-2.1.0
Successfully installed activeresource-2.1.0
Successfully installed rails-2.1.0
7 gems installed
Installing ri documentation for rake-0.8.1...
Installing ri documentation for activesupport-2.1.0...
RDoc failure in lib/active_support/core_ext/class/removal.rb at or
around line 37 column 19
Before reporting this, could you check that the file
you're documenting compiles cleanly--RDoc is not a
full Ruby parser, and gets confused easily if fed
invalid programs.
The internal error was:
Terminated
# gem install rails
Bulk updating Gem source index for:
http://gems.rubyforge.org/
Killed
# gem install rails
Bulk updating Gem source index for:
http://gems.rubyforge.org/
Killed
# gem --debug install rails
Exception `NameError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/
command_manager.rb:133 - uninitialized constant
Gem::Commands::InstallCommand
Exception `Gem::LoadError' at /usr/local/lib/ruby/site_ruby/1.8/
rubygems.rb:523 - Could not find RubyGem sources (> 0.0.1)
Exception `EOFError' at /usr/local/lib/ruby/1.8/net/protocol.rb:133 -
end of file reached
Exception `EOFError' at /usr/local/lib/ruby/1.8/net/protocol.rb:120 -
end of file reached
Bulk updating Gem source index for:
http://gems.rubyforge.org/
Killed
# gem uninstall rails
Successfully uninstalled rails-2.1.0
Remove executables:
rails
in addition to the gem? [Yn] y
Removing rails
# gem install rails
Bulk updating Gem source index for:
http://gems.rubyforge.org/
Killed
Now every time I try the last command, it fails the same way. Any
suggestions?