I am getting the following error:
incompatible marshal file format (can't be read)
format version 4.8 required; 0.0 given
On this line:
<%= stylesheet_link_tag "application", media: "all",
From this portion of my layouts file:
<html>
<head>
<title><%= full_title(yield(:title)) %></title>
<%= stylesheet_link_tag "application", media: "all",
"data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>
I have never encountered this problem before and the explanations online were either too advanced for me or were related to people making games, my project is a simple rails app that I just started yesterday.
Have you tried clearing assets?
bundle exec rake assets:clean
And then recompile:
bundle exec rake assets:precompile
Are you somehow mixing up Ruby versions? Maybe you are precompiling with 1.9 and running Rails through Passenger or something with 2.0?
Fix: change the secret key base to invalidate all sessions, especially after Rails upgrade.
I had to delete the sass and sprockets folders in rails_root/tmp/cache.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With