Skip to content
Snippets Groups Projects
Commit 7178977e authored by Adam Cooke's avatar Adam Cooke
Browse files

export RAILS_GROUPS for precompiling assets

parent adb3ecce
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -55,6 +55,7 @@ case "$1" in
upgrade)
if [ ! -f "public/assets/.prebuilt" ]; then
echo 'Compiling Assets'
export RAILS_GROUPS=assets
run "bundle exec rake assets:precompile"
fi
echo 'Migrating database'
Loading
Loading
@@ -74,6 +75,7 @@ case "$1" in
run "bundle exec rake db:schema:load db:seed"
if [ ! -f "public/assets/.prebuilt" ]; then
echo 'Compiling Assets'
export RAILS_GROUPS=assets
run "bundle exec rake assets:precompile"
fi
;;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment