Ruby on Rails Rake tasks


Example

By default sprockets-rails is shipped with the following rake tasks:

  • assets:clean[keep]: Remove old compiled assets
  • assets:clobber: Remove compiled assets
  • assets:environment: Load asset compile environment
  • assets:precompile: Compile all the assets named in config.assets.precompile