Asset filtered out and will not be served: add `config.assets.precompile

Responding to urging from Heroku, the Rails maintainers have merged sanity checks from the sprockets_better_errors gem into Rails 4.1. See https://github.com/rails/sprockets-rails/pull/84 The intent is to reveal asset pipeline errors that you would see in production when you run the app in development mode. You probably are using a javascript_include_tag in an application layout instead of … Read more

TZInfo::DataSourceNotFound error starting Rails v4.1.0 server on Windows

Resolving the Error To resolve this error, you’ll need to make sure that the tzinfo-data gem is being included in your Gemfile. First of all, check your Gemfile to see if there is an existing reference to tzinfo-data. If there isn’t already a reference, then add the following line: gem ‘tzinfo-data’ You may find that … Read more

Failed to decode downloaded font, OTS parsing error: invalid version tag + rails 4

I got the exact same error, and in my case it turned out to be because of a wrong path for the @font-face declaration. The web inspector never complained with a 404 since the dev server we’re using (live-server) was configured to serve up the default index.html on any 404:s. Without knowing any details about … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)