Deploying sinatra app (with config.ru) on heroku cedar stack

后端 未结 1 1372
时光取名叫无心
时光取名叫无心 2020-12-25 08:44

I\'m trying to refactor my sinatra code to separate my main file into separate files, using some tips from this response, and I\'m having troubles deploying to heroku.

相关标签:
1条回答
  • 2020-12-25 09:15

    I had to update my Procfile because the RACK_ENV isn't passed into the heroku environment. The Procfile became:

    web: bundle exec thin -R config.ru start -p $PORT -e $RACK_ENV
    
    0 讨论(0)
提交回复
热议问题