Forum: Ruby on Rails Upgrading Rails to 1.1.2 exception thrown ...

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3320715fa6264e6309503d5bd089fad2?d=identicon&s=25 Mufaddal Khumri (mkhumri)
on 2006-04-24 03:27
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:in `require'
        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:in `execute'
        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:in `execute'
        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:in
`process_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:in
`run'
        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?
3320715fa6264e6309503d5bd089fad2?d=identicon&s=25 Mufaddal Khumri (mkhumri)
on 2006-04-24 03:36
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 Khumri 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:in `require'
>         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:in `execute'
>         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:in `execute'
>         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:in
> `process_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:in
> `run'
>         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 topic is locked and can not be replied to.