Skip to content

Commit

Permalink
HEROKU_SKIP_WEB_DYNO
Browse files Browse the repository at this point in the history
Temporary workaround for heroku#1355
  • Loading branch information
dentarg authored and walro committed Sep 25, 2024
1 parent 5fc5709 commit 16765c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/language_pack/rack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def default_config_vars
end

def default_process_types
return super if env("HEROKU_SKIP_WEB_DYNO")

# let's special case thin here if we detect it
web_process = bundler.has_gem?("thin") ?
"bundle exec thin start -R config.ru -e $RACK_ENV -p ${PORT:-5000}" :
Expand Down

0 comments on commit 16765c6

Please sign in to comment.