(from http://pastebin.ca/44831) from a rails 1.0 app i did rake freeze_edge and rake rails:update. that went fine. when i go to the front page of my rails app I get wrong number of arguments (2 for 3) /var/www/somehost.net/site/public/../config/../vendor/rails/railties/lib/dispatcher.rb:63:in `failsafe_response'' /var/www/somehost.net/site/public/../config/../vendor/rails/railties/lib/dispatcher.rb:63:in `new_cgi'' /var/www/somehost.net/site/public/../config/../vendor/rails/railties/lib/dispatcher.rb:35:in `dispatch'' /var/www/somehost.net/site/public/dispatch.cgi:10 dispatch.rb lines 62-64 62: def new_cgi(output) 63: failsafe_response(output, ''400 Bad Request'') { CGI.new } 64: end dispatch.rb lines 88-89 88: def failsafe_response(output, status, exception) 89: yield the argument count mis-match seems clear. any idea what i can do to resolve this?
Hi, I''m trying to get edge rails running on my linux box but I can''t even get my app to start after doing that. $ rake freeze_edge ... Exported revision 4021. $ script/server => Booting WEBrick... ./script/../config/../vendor/rails/railties/lib/commands/../tasks/tmp.rake:1: undefined method `namespace'' for main:Object (NoMethodError) from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:142:in `load'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:142:in `load'' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:29 from script/server:3:in `require'' from script/server:3 I did install rake 0.7 Any ideas?? Jeroen
Aha I had two version of rake installed, which caused the problem. http://technomancy.us/blog/post/41 Jeroen Jeroen Houben wrote:> Hi, > > I''m trying to get edge rails running on my linux box but I can''t even > get my app to start after doing that. > > $ rake freeze_edge > ... > Exported revision 4021. > $ script/server > => Booting WEBrick... > ./script/../config/../vendor/rails/railties/lib/commands/../tasks/tmp.rake:1: > undefined method `namespace'' for main:Object (NoMethodError) from > ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:142:in > `load'' from > ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:142:in > `load'' from > ./script/../config/../vendor/rails/railties/lib/commands/server.rb:29 > from script/server:3:in `require'' > from script/server:3 > > I did install rake 0.7> > Any ideas?? > > Jeroen > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails