I'm on Rails 4.0.2, and still only develop locally.
Without doing anything (as I know of) I'm getting the following error message: "end of file reached", and the following line is marked red in the error page:
<%= stylesheet_link_tag "application", :media => "all" %>
I've tried removing all css rules, but that doesn't change anything.
The error stops ocurring only when commenting out that line.
If it's of any help, 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
Clear your sprockets cache by running the following:
rm tmp/cache/assets/development/sprockets/*
Why this works is beyond me but I've run into the same issue and this always works. If anyone knows why this is necessary I would be interested to hear.
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