lib/meroku/node.rb in meroku-2.0.23 vs lib/meroku/node.rb in meroku-2.0.24

- old
+ new

@@ -103,10 +103,10 @@ def start_rails execute_script <<~HEREDOC cd ~/backend_api; sudo gem install bundler; bundle; cd ~/backend_api; SECRET=#{Meroku::Shared.secrets.meroku_secret} RAILS_ENV=production bundle exec rake db:migrate db:seed - cd ~/backend_api; SECRET=#{Meroku::Shared.secrets.meroku_secret} SECRET_KEY_BASE=#{Meroku::Shared.secrets.meroku_secret} RAILS_ENV=production bundle exec puma -d -b unix:///home/ubuntu/backend_api/tmp/backend_api.sock + cd ~/backend_api; SECRET=#{Meroku::Shared.secrets.meroku_secret} SECRET_KEY_BASE=#{Meroku::Shared.secrets.meroku_secret} RAILS_ENV=production bundle exec unicorn -D -l unix:///home/ubuntu/backend_api/tmp/backend_api.sock -c config/unicorn.rb sudo /usr/sbin/nginx -s reload HEREDOC end end end