Open Janfred opened 6 years ago
It's a rails 5.1 change that is documented here https://github.com/rails/rails/issues/29535
you revert to the original behaviour by adding
Rails.application.config.assets.unknown_asset_fallback = true
to a file in config/initializers
(like, say, config/initializers/assets.rb
)
edit: I guess this solution isn't perfect since the log now shows
DEPRECATION WARNING: The asset "apple-touch-icon-114x114-precomposed.png" is not present in the asset pipeline.Falling back to an asset that may be in the public folder.
This behavior is deprecated and will be removed.
To bypass the asset pipeline and preserve this behavior,
use the `skip_pipeline: true` option.
Following that instructions and adding skip_pipeline: true
to the favicon_link_tag
entries in your layout also seem to work, and suppresses the deprecation warning.
Since the behavior will be removed I guess it needs to be addressed. For the moment there should be at least some kind of documentation which adjustments have to be made when using this gem with Rails 5.
try to create these PNGs files...
Any progress on this issue? The issue still exists with the current version of this gem and rails 5.2.3.
This is still a problem with Rails 6 :(
any updates on this, still issue in rails 6 :( I am trying to learn each time I am learning new things i face new problems :(
this problem still persists in rails 7
I've encountered problems with the default layout since I've upgraded to Rails 5.1.4
I see the following error:
I've setup the test app using this commands:
And then go to
http://localhost:3000/users
In Rails 5.0.X the same setup works but already shows a deprecation hint. (Don't know the exact version, could look for it if needed)