Sha256: faf9c56195177016b538dc7f208575d863ae53c227d979ef77b9d445ff38678a
Contents?: true
Size: 507 Bytes
Versions: 2
Compression:
Stored size: 507 Bytes
Contents
#!/bin/bash mkdir -p ~/.rvm/src ~/.rvm/bin cwd=`pwd` cp $cwd/bash/rvm ~/.rvm/bin/ touch ~/.bash_profile if [ -z "`grep '\.rvm/bin/rvm' ~/.bash_profile`" ] ; then echo "Adding 'source ~/.rvm' to your ~/.bash_profile." echo "source ~/.rvm/bin/rvm" >> ~/.bash_profile fi if [ -z "`grep '\.rvm/current' ~/.bash_profile`" ] ; then echo "Adding 'source ~/.rvm/current' ~/.bash_profile." echo "if [ -f ~/.rvm/current ] ; then source ~/.rvm/current ; fi" >> ~/.bash_profile fi source ~/.bash_profile
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rvm-0.0.2 | bash/rvm-install |
rvm-0.0.1 | bash/rvm-install |