Upgrading Rails to 1.1.2 exception thrown

Hi,

I was able to successfully upgrade my ruby version to 1.8.4

After that i issued this:

sudo gem install rails --include-dependencies

The output of which is this:

Attempting local installation of ‘rails’
Local gem file not found: rails*.gem
Attempting remote installation of ‘rails’
Updating Gem source index for: http://gems.rubyforge.org
Successfully installed rails-1.1.2
Successfully installed rake-0.7.1
Successfully installed activesupport-1.3.1
Successfully installed activerecord-1.14.2
Successfully installed actionpack-1.12.1
Successfully installed actionmailer-1.2.1
Successfully installed actionwebservice-1.1.2
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
require__': no such file to load -- rdoc/rdoc (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
from /usr/local/lib/site_ruby/1.8/rubygems/doc_manager.rb:43:in
generate_rdoc' from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:215:inexecute’
from
/usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:214:in execute' from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:153:inexecute’
from /usr/local/lib/site_ruby/1.8/rubygems/command.rb:49:in
invoke' from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:94:inprocess_args’
from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:67:in
run' from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:13:inrun’
from /usr/bin/gem:17

I get the above exception ???

I issue this:
rails --version
Rails 1.1.2

I can see that I was able to migrate over to rails 1.1.2, but I am
confused about the error I saw during installation of rails. Any clues
as to why the error might happen?

I just did a:
sudo apt-get install rdoc irb
and ran:
sudo gem install rails --include-dependencies

It gave the following output:

Attempting local installation of ‘rails’
Local gem file not found: rails*.gem
Attempting remote installation of ‘rails’
Successfully installed rails-1.1.2

I guess alls well now.

Mufaddal K. wrote:

Hi,

I was able to successfully upgrade my ruby version to 1.8.4

After that i issued this:

sudo gem install rails --include-dependencies

The output of which is this:

Attempting local installation of ‘rails’
Local gem file not found: rails*.gem
Attempting remote installation of ‘rails’
Updating Gem source index for: http://gems.rubyforge.org
Successfully installed rails-1.1.2
Successfully installed rake-0.7.1
Successfully installed activesupport-1.3.1
Successfully installed activerecord-1.14.2
Successfully installed actionpack-1.12.1
Successfully installed actionmailer-1.2.1
Successfully installed actionwebservice-1.1.2
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
require__': no such file to load -- rdoc/rdoc (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
from /usr/local/lib/site_ruby/1.8/rubygems/doc_manager.rb:43:in
generate_rdoc' from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:215:inexecute’
from
/usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:214:in execute' from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:153:inexecute’
from /usr/local/lib/site_ruby/1.8/rubygems/command.rb:49:in
invoke' from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:94:inprocess_args’
from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:67:in
run' from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:13:inrun’
from /usr/bin/gem:17

I get the above exception ???

I issue this:
rails --version
Rails 1.1.2

I can see that I was able to migrate over to rails 1.1.2, but I am
confused about the error I saw during installation of rails. Any clues
as to why the error might happen?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs