Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mysterious EOFError in Rails 4

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?

like image 458
Benjamin R. Avatar asked Jul 11 '13 12:07

Benjamin R.


1 Answers

Clear your sprockets cache

rm tmp/cache/assets/development/sprockets/*
like image 153
UncleLaz Avatar answered Sep 19 '22 16:09

UncleLaz