~/.zshrc and ~/.bashrc
export PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function [[ -r $HOME/.rvm/scripts/completion ]] && . $HOME/.rvm/scripts/completion
Create $project/.rvmrc file with rvm use RubyVersion@projectname for example rvm use 1.9.3@rails3.
Redmine installations:
Redmine deployments
command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import - command curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import - curl -sSL https://get.rvm.io | bash -s stable source ~/.rvm/scripts/rvm rvm reload rvm install 2.4.10 --autolibs=read-only # Redmine only rvm use 2.4.10@global --create --default # Redmine only gem uninstall bundler; gem install bundler # Temporary workaround: 1.12.3 requires to unlock nproc limits protection rvm wrapper regenerate bundle # updates symlinks in ~/.rvm/bin cd redmine bundle update bundle install --no-deployment --without development test # Redmine only paxctl -m `which ruby` # Hardened Gentoo only