Skip to content

Instantly share code, notes, and snippets.

@GoalSmashers
Created October 15, 2013 18:22
Show Gist options
  • Select an option

  • Save GoalSmashers/6996203 to your computer and use it in GitHub Desktop.

Select an option

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
app: bundle exec puma -p 3000
service: config/scripts/service
#!/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