Skip to content

Instantly share code, notes, and snippets.

@toland
Created January 1, 2012 23:36
Show Gist options
  • Save toland/1548661 to your computer and use it in GitHub Desktop.
Save toland/1548661 to your computer and use it in GitHub Desktop.
Simple script to load RVM, source the local rvmrc file and run a command. This was originally created to be used when creating a custom profile in iTerm2.
#!/bin/sh
. $HOME/.rvm/scripts/rvm
rvm rvmrc load
exec $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment