Working on my first Rails 4 app when all of a sudden I started getting this mysterious EOFError. Checked out some old commits via git when everything was working fine and the error was still there.
EOFError in Labels#index
Extracted source (around line #5):
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
I figured out a workaround, which is to rename application.css to app.css and change to
<%= stylesheet_link_tag "app", media: "all", "data-turbolinks-track" => true %>
but still no idea why this is happening. Any thoughts?
Clear your sprockets cache
rm tmp/cache/assets/development/sprockets/*
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