مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
export RAILS_GROUPS for precompiling assets
هذا الالتزام موجود في:
@@ -55,6 +55,7 @@ case "$1" in
|
|||||||
upgrade)
|
upgrade)
|
||||||
if [ ! -f "public/assets/.prebuilt" ]; then
|
if [ ! -f "public/assets/.prebuilt" ]; then
|
||||||
echo 'Compiling Assets'
|
echo 'Compiling Assets'
|
||||||
|
export RAILS_GROUPS=assets
|
||||||
run "bundle exec rake assets:precompile"
|
run "bundle exec rake assets:precompile"
|
||||||
fi
|
fi
|
||||||
echo 'Migrating database'
|
echo 'Migrating database'
|
||||||
@@ -74,6 +75,7 @@ case "$1" in
|
|||||||
run "bundle exec rake db:schema:load db:seed"
|
run "bundle exec rake db:schema:load db:seed"
|
||||||
if [ ! -f "public/assets/.prebuilt" ]; then
|
if [ ! -f "public/assets/.prebuilt" ]; then
|
||||||
echo 'Compiling Assets'
|
echo 'Compiling Assets'
|
||||||
|
export RAILS_GROUPS=assets
|
||||||
run "bundle exec rake assets:precompile"
|
run "bundle exec rake assets:precompile"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم