Closed ctrl-dlahr closed 7 years ago
Hmm. Try running this in a Rails console in development mode:
load '/usr/local/rvm/gems/ruby-2.3.1/gems/devise_cas_authenticatable-1.9.2/app/controllers/devise/cas_sessions_controller.rb'
You may get a different error that will be more helpful in tracking down the problem. If so, could you paste that here?
Hey,
Thanks for the reply. I redeployed the project with Unicorn on my development server. The problem stopped for about a day then happened again. This happens when logging in or logging out. (I am using devise.)
Below is the output from rails console.
2.3.1 :001 > load '/usr/local/rvm/gems/ruby-2.3.1/gems/devise_cas_authenticatable-1.9.2/app/controllers/devise/cas_sessions_controller.rb' DEPRECATION WARNING: skip_before_filter is deprecated and will be removed in Rails 5.1. Use skip_before_action instead. (called from irb_binding at (irb):1) => true
I have a rails project that works locally but when I put it on my development server I get the following error:
additionally it says:
Extracted source (around line #512):
Line 512 is:
raise LoadError, "Unable to autoload constant #{qualified_name}, expected #{file_path} to define it" unless from_mod.const_defined?(const_name, false)
any ideas on what might be causing this?