Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Upgrade path for railties prefix change

#3330

This was super frustrating to figure out. If you don't fix the "rails/" namespace, rubygems tries to activate an old system gem and dies with the worst error message.

$ rake --trace        
(in /Volumes/37signals/foo)
rake aborted!
undefined method `map' for nil:NilClass
/Users/josh/.rvm/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems.rb:270:in `activate'
/Users/josh/.rvm/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:35:in `require'
/Volumes/37signals/foo/Rakefile:10

The error is caused by our rubygem hackery. We probably want to hack loaded_stacks too to fix this message.

Gem.instance_variable_get("@loaded_stacks")[stub] = []

Reported by josh · October 4th, 2009 @ 06:34 PM

State: resolved
Milestone: 3.0.2
Assigned to: Carl Lerche Carl Lerche
Importance: none

Activity

  1. josh
    josh
    • State changed from new to resolved

    December 31st, 2009 @ 09:03 PM

  2. Carl Lerche
    Carl Lerche

    The bundler stubs out loaded_stacks now, so this shouldn't be an issue anymore.

    December 31st, 2009 @ 09:04 PM

  3. Jeremy Kemper