Skip to content

Instantly share code, notes, and snippets.

@xecutioner
Created March 2, 2017 03:12
Show Gist options
  • Select an option

  • Save xecutioner/599e52487aebddb285fc09db23fece67 to your computer and use it in GitHub Desktop.

Select an option

Save xecutioner/599e52487aebddb285fc09db23fece67 to your computer and use it in GitHub Desktop.
rails assets:precompile -> This is the command you use to compress the assets .
- This command will generate assets via using the asset pipelining. And have them
in public/assets folder.
rails assets:clean -> This will clean the older assets you have .
- This command will clear older versions of the assets
rails assets:clobber -> Nuke public/assets .
- delete everything.
For more information and reference : http://guides.rubyonrails.org/asset_pipeline.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment