Getting sprockets-rails to compile assets in vendor and lib automatically like it used to in rails 3 -
sprockets-rails, has been moved out of rails , own gem, no longer auto complies assets gems in gems respective vendor , lib folders. meaning have add every file gems vendor , lib folders either application.js, application.css, or images/fonts add them each config.assets.precompile.
https://github.com/rails/rails/pull/7968
how restore default behavior , have act did in rails three?
this works me in application.rb
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
Comments
Post a Comment