Created
August 27, 2013 14:52
-
-
Save westonwatson/6354598 to your computer and use it in GitHub Desktop.
install rbenv/ruby/rails/gem/rake/bundler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash | |
nano ~/.bashrc | |
#insert into .bashrc | |
export RBENV_ROOT="${HOME}/.rbenv" | |
if [ -d "${RBENV_ROOT}" ]; then | |
export PATH="${RBENV_ROOT}/bin:${PATH}" | |
eval "$(rbenv init -)" | |
fi | |
source ~/.bashrc | |
rbenv bootstrap-ubuntu-[VERSION] | |
rbenv install [VERSION] | |
rbenv rehash | |
rbenv global [VERSION] | |
gem install rdoc | |
gem install bundler | |
gem install rake | |
rbenv rehash | |
gem install rails |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment