Skip to content

Instantly share code, notes, and snippets.

@organicveggie
Created September 13, 2012 16:01
Show Gist options
  • Select an option

  • Save organicveggie/3715338 to your computer and use it in GitHub Desktop.

Select an option

Save organicveggie/3715338 to your computer and use it in GitHub Desktop.
RVM on EC2
$ type rvm |head -1
rvm is a function
$ ./testme.sh
Try loading RVM profile from /usr/local/rvm/scripts/rvm
PATH=/usr/local/rvm/gems/ruby-1.9.3-p194/bin:/usr/local/rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p194/bin:/usr/local/rvm/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
rvm is /usr/local/rvm/bin/rvm
#!/bin/sh
if [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
# Then try to load from a root install
echo Try loading RVM profile from /usr/local/rvm/scripts/rvm
source "/usr/local/rvm/scripts/rvm"
fi
echo "PATH=$PATH"
echo `type rvm|head -1`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment