Skip to content

Instantly share code, notes, and snippets.

@jreisstudio
Created August 21, 2013 19:37
Show Gist options
  • Save jreisstudio/6299144 to your computer and use it in GitHub Desktop.
Save jreisstudio/6299144 to your computer and use it in GitHub Desktop.
Foreman - utilização
---: gem install foreman
---: gem install subcontractor (para usar projetos que dependem de gemsets diferentes!)
---: Criar o Procfile assim:
app1: subcontract --rvm <<versao ruby>>@<<app1> --chdir ./<<diretorio app1>> --signal INT -- bundle exec rails s
app2: subcontract --rvm <<versao ruby>>@<<app2> --chdir ./<<diretorio app2>> --signal INT -- bundle exec rackup
.
.
.
e assim por diante...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment