You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
now that I see you're using puma I understand what's going on: you were probably trying out some other server before (my bet is it was trinidad) which created the rack-cache file (with the serialized content). jruby-rack is using a different rack.env impl thus you need to clear the file before starting puma (Rack::Handler::Servlet::DefaultEnv is only available when jruby-rack is ... and puma isn't using it)!
@kares@headius Thank you for the prompt reply. clear what file exactly? I didn't see any rake-cache file in my root directory. Did you mean rails tmp:clear?
Environment
Darwin Eos.local 15.2.0 Darwin Kernel Version 15.2.0: Fri Nov 13 19:56:56 PST 2015; root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64
jruby 9.0.5.0 (2.2.3) 2016-01-26 7bee00d Java HotSpot(TM) 64-Bit Server VM 25.72-b15 on 1.8.0_72-b15 +jit [darwin-x86_64]
In my Gemfile.lock:
rack-cache (~> 1.2)
Expected Behaviour
I'm using rake-cache in my development.rb environment:
config.action_controller.perform_caching = true
It looks like it was able to load but it wasn't able to dump it.
Actual Behaviour
I've been getting the following error while my server is running:
*This is the output of a full trace ( JRUBY_OPT= -Xbacktrace.style=full )
*
The text was updated successfully, but these errors were encountered: