Guest User

Untitled

a guest
Apr 20th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. # Upgrade Rails 2.1.2 -> 2.3.4
  2. 1) # environment.rb
  3. RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION
  4. 2) rake rails:upgrade
  5. 3) ruby script/server in rails app home directory in development mode leads to:
  6.  
  7. ArgumentError (A copy of UserController has been removed from the module tree but is still active!):
  8. /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:414:in `load_missing_constant'
  9. /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:96:in `const_missing'
  10. app/controllers/user_controller.rb:269:in `current_user'
  11. app/controllers/user_controller.rb:261:in `logged_in?'
  12. haml (2.2.3) lib/sass/plugin/rails.rb:19:in `process'
Add Comment
Please, Sign In to add comment