RVM
\curl -sSL https://get.rvm.io | bash -s stable
* To start using RVM you need to run:
source /Users/kishansahadeo/.rvm/scripts/rvm
* Installing RVM to /Users/parmsahadeo/.rvm/
* Adding rvm PATH line to /Users/parmsahadeo/.profile /Users/parmsahadeo/.mkshrc /Users/parmsahadeo/.bashrc /Users/parmsahadeo/.zshrc.
* Adding rvm loading line to /Users/parmsahadeo/.profile /Users/parmsahadeo/.bash_profile /Users/parmsahadeo/.zlogin.
rvm list rubies
rvm install 2.3.1
rvm install 2.3.1-production
rvm use 2.3.1-test
rvm gemset create engines2016
rvm gemset use engines2016
or as an alternative:
rvm ruby-version@gemset-name
rvm 2.3.1@rails425
gem install rails -v 4.2.5 -N
rvm env > .powenv
rvm implode
Note you may need to manually remove /etc/rvmrc and ~/.rvmrc if they exist still.
Please check all .bashrc .bash_profile .profile and .zshrc for RVM source lines and delete or comment out if this was a Per-User installation.
Also make sure to remove `rvm` group if this was a system installation.
Finally it might help to relogin / restart if you want to have fresh environment (like for installing RVM again).
rm /etc/rvmrc
rm ~/.rvmrc
.bashrc
.bash_profile
.profile
.mkshrc
.zshrc
to remove all references to rvmgpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable --ruby --auto-dotfiles
Upgrading the RVM installation in /Users/kishansahadeo/.rvm/
Removing rvm PATH line from /Users/kishansahadeo/.mkshrc.
Adding rvm PATH line to /Users/kishansahadeo/.profile /Users/kishansahadeo/.mkshrc /Users/kishansahadeo/.bashrc /Users/kishansahadeo/.zshrc.
Removing rvm loading line from /Users/kishansahadeo/.profile /Users/kishansahadeo/.bash_profile /Users/kishansahadeo/.zlogin.
Adding rvm loading line to /Users/kishansahadeo/.profile /Users/kishansahadeo/.bash_profile /Users/kishansahadeo/.zlogin.
Upgrade of RVM in /Users/kishansahadeo/.rvm/ is complete.
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
is located last, on the .bashrc
and comment it in other files (.profile
)