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.
I had to update my Procfile because the RACK_ENV isn't passed into the heroku environment. The Procfile became:
Procfile
RACK_ENV
web: bundle exec thin -R config.ru start -p $PORT -e $RACK_ENV