Skip to content

Commit 0aef5f2

Browse files
committed
cleaner rake call
1 parent 0bf906f commit 0aef5f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/install

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ pushd "$install_dir/live"
6060
ynh_use_nodejs
6161
ynh_gem install "bundler:$bundler_version"
6262
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_ruby_load_path" "$ld_preload" script/configure_bundler
63-
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_ruby_load_path" "$ld_preload" bin/bundle install --full-index --with=postgresql
64-
ynh_exec_warn_less ynh_exec_as "$app" RAILS_ENV=production "$ynh_ruby_load_path" "$ld_preload" bin/bundle exec rake db:migrate
63+
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_ruby_load_path" "$ld_preload" bin/bundle install --full-index
64+
ynh_exec_warn_less ynh_exec_as "$app" RAILS_ENV=production "$ynh_ruby_load_path" "$ld_preload" bin/rake db:migrate
6565
ynh_exec_warn_less ynh_exec_as "$app" RAILS_ENV=production "$ynh_ruby_load_path" "$ld_preload" bin/rake assets:precompile
6666
ynh_exec_warn_less ynh_exec_as "$app" RAILS_ENV=production "$ynh_ruby_load_path" "$ld_preload" bin/bundle exec rails console << END
6767
user = User.build({username: '$admin', email: '$admin_mail', password: '$password', password_confirmation: '$password' })

0 commit comments

Comments
 (0)