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

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -