Created
October 15, 2013 18:22
-
-
Save GoalSmashers/6996203 to your computer and use it in GitHub Desktop.
bundler + foreman + more than one Ruby interpreter - we run MRI 2.0 and Rubinius 2.1 side by side this way
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app: bundle exec puma -p 3000 | |
| service: config/scripts/service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| source ~/.bashrc | |
| cd path/to/your/service | |
| export BUNDLE_GEMFILE=`pwd`/Gemfile | |
| bundle exec puma -p 3001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment