I'm migrating a very large Rails 2.3.8 application to Bundler and
after moving our gem requirements over am experiencing this error when
starting the server or running rake:
=> Booting Mongrel
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
(__DELEGATE__):2:in `not_found': wrong number of arguments (2 for 0)
from (__DELEGATE__):2:in `send'
from (__DELEGATE__):2:in `not_found'
No amount of vendorizing/unvendorizing/versioning/etc. has budged this
error, which seems to occur during route drawing. Here's lines 1-5 of
ActionController::Routing::Routes.draw do |map|
# Public Routes
map.namespace :global, :path_prefix => 'plaza' do |global|
global.home '.:format', :controller => 'home', :action => 'index'
global.not_found '/not_found', :controller => 'home', :action =>
If I do a bundle install on the branch with Bundler, then test our
master branch with the resulting installed gems, everything passes, so
I believe the Gemfile is at least getting the right gems installed,
but something about the way they're loading is causing routes to
break. The only differences on the branch are the backporting code for
Bundler and the Gemfile, and I'm using RVM to guarantee gem isolation.
Any suggestions or pointers?