How can I temporarily disable the asset pipeline functionality that Rails 3.1 provides? (I am performing an upgrade)
try this in your application.rb
config.assets.enabled = false
Putting this line inside the application.rb
config.assets.enabled = false
You can also disable the asset pipeline while creating a new application by passing the —skip-sprockets option.
rails new appname --skip-sprockets
You can use --skip-assets
with generate
to skip producing asset stubs.
refer: http://guides.rubyonrails.org/asset_pipeline.html#what-is-the-asset-pipeline
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