Skip to content

Instantly share code, notes, and snippets.

@itsderek23
Last active December 18, 2015 05:09
Show Gist options
  • Save itsderek23/5731080 to your computer and use it in GitHub Desktop.
Save itsderek23/5731080 to your computer and use it in GitHub Desktop.
A sample shell script for a Ruby executable w/RVM + Bundler
#! /usr/bin/env bash
# Loading the RVM Environment files.
source /Users/dlite/.rvm/environments/ruby-1.9.2-p290
# Changing directories to your rails project.
cd /Users/dlite/projects/my_rails_app
# Call Scout and pass your unique key.
bundle exec scout [KEY]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment