Skip to content

Instantly share code, notes, and snippets.

@arafatm
Last active August 29, 2015 14:04
Show Gist options
  • Save arafatm/dd337c455d8e113c16bf to your computer and use it in GitHub Desktop.
Save arafatm/dd337c455d8e113c16bf to your computer and use it in GitHub Desktop.
RBenv Install

RBenv install script

https://github.com/arafatm/dotfiles/blob/master/install/rbenv.sh

This will install rbenv, the latest stable version of ruby and postgresql

This script will take a while to run/install, so be patient

Helpful Utilities

This script will install some other helpful utilities https://github.com/arafatm/dotfiles/blob/master/install/setup.dev.sh

Using RBenv

I'll go ahead and switch out the ruby version this week to use rbenv

Spend some time understanding how rbenv works https://github.com/sstephenson/rbenv

You'll need to add the 2 lines below to ~/.bashrc

export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"

and then source ~/.bashrc

This last command runs automatically when you open a new terminal. However, it won't run on currently running windows. So make sure you run it or you will have problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment