EOF Error Arising Out of Nowhere

I am working on Rails 4.0.2 and still developing locally.

Without doing anything (as I know), I get the following error message: "end of file reached", and the next line is marked in red on the error page:

<%= stylesheet_link_tag "application", :media => "all" %>

I tried to remove all css rules, but that doesn’t change anything.

The error stops only when commenting on this line.

If that helps, my config / development.rb:

Verksam::Application.configure do
  config.cache_classes = false
  config.eager_load = false
  config.consider_all_requests_local       = true
  config.action_controller.perform_caching = false
  config.action_mailer.raise_delivery_errors = false
  config.active_support.deprecation = :log
  config.active_record.migration_error = :page_load
  config.assets.debug = true
end
+4
source share
1 answer

Clear the star cache by doing the following:

rm tmp/cache/assets/development/sprockets/*

, , . - , , .

+24

All Articles