Skip to content

Instantly share code, notes, and snippets.

@hugodias
Created April 29, 2016 13:44
Show Gist options
  • Select an option

  • Save hugodias/0313362ff245f28e6b32a5783acfc14e to your computer and use it in GitHub Desktop.

Select an option

Save hugodias/0313362ff245f28e6b32a5783acfc14e to your computer and use it in GitHub Desktop.
Run assets precompile locally loading env variables from a .env file
env $(cat .env | xargs) RAILS_ENV=production rake assets:precompile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment