Skip to content

Instantly share code, notes, and snippets.

@bradrobertson
Created February 6, 2012 16:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradrobertson/1752849 to your computer and use it in GitHub Desktop.
Save bradrobertson/1752849 to your computer and use it in GitHub Desktop.
Less than ideal solution for launching different apps from one codebase on Heroku
# Config var set on api
ENV['APP']='thin start -R lib/api/config.ru -p $PORT -e $RACK_ENV'
# Config var set on app
ENV['APP']='thin start -p $PORT -e $RACK_ENV'
web: bundle exec $APP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment