Skip to content

Commit fdc0fe8

Browse files
committed
refactor(Procfiles): don't explicitly specify environment; clean up custom_web process
1 parent 6e944b0 commit fdc0fe8

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Procfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
web: bundle exec puma -e $RACK_ENV -b unix:///tmp/web_server.sock --pidfile /tmp/web_server.pid -d
2-
worker: bundle exec sidekiq -e $RAILS_ENV --config ./config/sidekiq.yml
3-
custom_web: bundle exec puma -e $RACK_ENV -b unix:///tmp/web_server.sock --pidfile /tmp/web_server.pid -d
2+
worker: bundle exec sidekiq --config ./config/sidekiq.yml

Procfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# You can run these commands in separate shells instead of using foreman
22
web: bin/rails server -p 3000
3-
worker: bundle exec sidekiq -e development --config ./config/sidekiq.yml
3+
worker: bundle exec sidekiq --config ./config/sidekiq.yml
44

55
# Next line runs a watch process with webpack to compile the changed files.
66
# When making frequent changes to client side assets, you will prefer building webpack assets

Procfile.dev-server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# You can run these commands in separate shells instead of using foreman
22
web: bin/rails server -p 3000
3-
worker: bundle exec sidekiq -e development --config ./config/sidekiq.yml
3+
worker: bundle exec sidekiq --config ./config/sidekiq.yml
44

55
# Next line runs the webpack-dev-server
66
# You can edit config/webpacker.yml to set HMR to true to see hot reloading.

0 commit comments

Comments
 (0)