Project

General

Profile

Switching branches from 0.7 to 0.8 results in "undefined method install_gem_spec_stubs"

Added by Sven Schwyn almost 16 years ago

Hi there

There are one or two similar postings already, but this seems to be a different story. I've just switched branches to 0.8 and now migrations, script/about and friends all produce the following:

# rake db:migrate RAILS_ENV=production --trace
(in [...])
rake aborted!
undefined method `install_gem_spec_stubs' for #<Rails::Initializer:0x7f43022c93d0>
[...]/vendor/rails/railties/lib/initializer.rb:49:in `send'
[...]/vendor/rails/railties/lib/initializer.rb:49:in `run'
[...]/config/boot.rb:46:in `load_initializer'
[...]/config/boot.rb:38:in `run'
[...]/config/boot.rb:11:in `boot!'
[...]/config/boot.rb:109
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
[...]/Rakefile:4
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `load'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `raw_load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in `load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in `load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

My versions however are up to the task. Rake is at 0.8.3, Rubygems reports 1.3.1 and Rails is bundled in the vendor directory.

Any ideas?


Replies (1)

SOLVED: Switching branches from 0.7 to 0.8 results in "undefined method install_gem_spec_stubs" - Added by Sven Schwyn almost 16 years ago

My fault. I lived under the wrong impression that Rails came bundled from the Repo, but it was frozen to an old version. Sorry for the noise.

    (1-1/1)