Skip to content

Instantly share code, notes, and snippets.

@lucasmazza
Created June 22, 2016 19:34
Show Gist options
  • Save lucasmazza/cf0e3704ce2a2d866156c7a48ca8f577 to your computer and use it in GitHub Desktop.
Save lucasmazza/cf0e3704ce2a2d866156c7a48ca8f577 to your computer and use it in GitHub Desktop.
# cleanup existing assets and cached files
rm -rf public/assets tmp/cache/assets
# Stop and start Spring to ensure we have a pristine process
# and to remove the Rails boot time from the benchmark.
bin/spring stop
bin/rake secret > /dev/null
time bin/rake assets:precompile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment