Hi everybody,
I got the following error while installing Rails via gems on my Gentoo
machine. I hope this is the appropriate forum to send this report.
Regards,
Ed
-------------------------------------------------
casandra ~ # gem install rails
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
Install required dependency rake? [Yn] Install required dependency
activerecord? [Yn]
Install required dependency actionpack? [Yn] Install required
dependency actionmailer? [Yn]
Successfully installed rails, version 0.8.5
Installing RDoc documentation for rails-0.8.5...
WARNING: Generating RDoc on .gem that may not have RDoc.
lib/dispatcher.rb:34:67: Skipping require of dynamic string:
"#{Inflector.underscore(controller_name)}_controller"
Installing RDoc documentation for rake-0.4.12...
lib/rake.rb:586:47: '')'' expected
Installing RDoc documentation for activerecord-1.1.0...
ERROR: While executing gem ... (NoMethodError)
undefined method `as_href'' for nil:NilClass
-------------------------------------------------
So I tried to update and see if it could be fixed, but got this:
-------------------------------------------------
casandra ~ # gem update -s http://gems.rubyonrails.org
Upgrading installed gems...
Updating Gem source index for: http://gems.rubyonrails.org
Attempting remote upgrade of actionpack
Attempting remote installation of ''actionpack''
Successfully installed actionpack, version 0.9.5.200412010045
Installing RDoc documentation for actionpack-0.9.5.200412010045...
lib/action_controller/scaffolding.rb:87:37: Skipping require of
dynamic string: "#{model_id.id2name}"
Attempting remote upgrade of activerecord
Attempting remote installation of ''activerecord''
Successfully installed activerecord, version 1.1.0.200412010045
Installing RDoc documentation for activerecord-1.1.0.200412010045...
ERROR: While executing gem ... (NoMethodError)
undefined method `as_href'' for nil:NilClass
-------------------------------------------------
casandra ~ # gem --version
0.8.1
casandra ~ # ruby -v
ruby 1.8.2 (2004-11-06) [i686-linux]
Regards,
Ed
--
The downside of being better than everyone else is that people tend to
assume you''re pretentious.