> Several people have reported this error, but I haven''t been able
to reproduce
> it on my machine. If you could provide a stack trace for the error, it
would
> be most helpful.
>
> To get a stack trace, use the --backtrace option on the gem command:
>
> sudo gem --backtrace install rails
Jim,
I searched a bit more through the archives and found the following
link that solved my problem:
http://wiki.rubyonrails.com/rails/show/RailsOnDebianUnstable
Now, I have rails working on one computer, but in case you''re still
interested in the backtrace, here is what it looks like on the unfixed
computer:
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
ERROR: While executing gem ... (NameError)
uninitialized constant ActionView::Base
/usr/lib/ruby/gems/1.8/gems/actionpack-1.5.1/lib/action_view.rb:36
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__''
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.0.1/lib/active_support/dependencies.rb:197:in
`require''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.5.1/lib/action_controller.rb:49
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__''
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.0.1/lib/active_support/dependencies.rb:197:in
`require''
/usr/local/lib/site_ruby/1.8/rubygems.rb:163:in `activate''
/usr/local/lib/site_ruby/1.8/rubygems.rb:34:in `require_gem''
/usr/local/lib/site_ruby/1.8/rubygems/remote_installer.rb:460:in
`find_dependencies_not_installed''
/usr/local/lib/site_ruby/1.8/rubygems/remote_installer.rb:458:in `each''
/usr/local/lib/site_ruby/1.8/rubygems/remote_installer.rb:458:in
`find_dependencies_not_installed''
/usr/local/lib/site_ruby/1.8/rubygems/remote_installer.rb:374:in
`install''
/usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:168:in `execute''
/usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:129:in `each''
/usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:129:in `execute''
/usr/local/lib/site_ruby/1.8/rubygems/command.rb:49:in `invoke''
/usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:90:in
`process_args''
/usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:63:in `run''
/usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:9:in `run''
/usr/bin/gem:17
- david