Skip to content

Instantly share code, notes, and snippets.

@uhhuhyeah
Created March 21, 2012 19:37
Show Gist options
  • Save uhhuhyeah/2151845 to your computer and use it in GitHub Desktop.
Save uhhuhyeah/2151845 to your computer and use it in GitHub Desktop.
rvm saddness
`rvm use #{ruby_version}@identity-service --create`
# Can't run this from the script. :(
# results in `RVM is not a function, selecting rubies with 'rvm use ...' will not work.`
# Is there something special about rvm that's going to prevent us from accessing it from within the script?
mc-identity-service (master *) λ type rvm | head -1
rvm is a function
mc-identity-service (master *) λ irb
1.9.3-p125 :001 > `type rvm | head -1`
=> "rvm is /Users/d.mcclain/.rvm/bin/rvm\n"
1.9.3-p125 :002 >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment