Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rvm ruby 1.9.2 and Rails 3.1 can't start server

Im using rvm use 1.9.2 then when trying to run rails s I'm getting the following error.

/Users/pel/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0.rc5/lib/action_view/railtie.rb:34:in `block (3 levels) in <class:Railtie>': undefined method `debug_rjs=' for ActionView::Base:Class (NoMethodError)
like image 665
Martin Avatar asked Aug 09 '11 22:08

Martin


1 Answers

Check your config/environments/development.rb file, you probably have this line:

config.action_view.debug_rjs = true

Remove it. Probably best to search your entire project for any debug_rjs references and remove them all.

like image 171
Dylan Markow Avatar answered Oct 18 '22 04:10

Dylan Markow