netzke / netzke-core

Framework for Sencha Ext JS + Ruby on Rails client-server components
http://netzke.org
Other
263 stars 77 forks source link

undefined method `new' for nil:NilClass after bundle update #17

Closed idler921 closed 13 years ago

idler921 commented 13 years ago

Hi skozlov

I updated both basepack and core today then I get these error, the stack trace doesn't very helpful for me to debug, might you have some idea or I've miss something?

netzke-basepack-c2f2fda10dca netzke-core-bc9cd6007b94

Once I revert to netzke-basepack-f4c263cb257f and netzke-core-12a68583a395 then the problem gone.

Started GET "/welcome/index" for 127.0.0.1 at 2010-12-24 17:19:25 +0800 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (87.9ms) Completed in 99ms

ActionView::Template::Error (undefined method new' for nil:NilClass): 1: <%= netzke :simple_basic_app %> app/views/welcome/index.html.erb:1:in_app_views_welcome_index_html_erb__617632484852304534_16927740__2037854811478141187'

Rendered /home/idler/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /home/idler/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.6ms) Rendered /home/idler/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.5ms)

mxgrn commented 13 years ago

Which project are you trying to run? If it's netzke-demo, you'd need to update it, too (and use rails3 branch, of course).

mxgrn commented 13 years ago

(Sorry, closed it by mistake)

idler921 commented 13 years ago

Sorry, could you specify which part should I change. I'm developing a project based on the demo.

mxgrn commented 13 years ago

BasicApp has been replaced in basepack with 2 components: SimpleApp (doesn't use authentication), and AuthApp (extension of SimpleApp that extends SimpleApp with authentication and masquerading). So, you can try to use AuthApp instead of BasicApp in your project. In mean while, I'll put BasicApp back for backward compatibility...