Created
March 10, 2014 21:26
-
-
Save schneems/9474721 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails new sprockets_template_require | |
cd sprockets_template_require/ | |
mkdir app/assets/templates/ | |
echo "FOO" > app/assets/templates/index.html | |
echo "//= depend_on index.html" > app/assets/javascripts/application.js | |
RAILS_ENV=production bundle exec rake assets:precompile | |
echo "bar" >> app/assets/templates/index.html | |
RAILS_ENV=production bundle exec rake assets:precompile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment