Skip to content

Instantly share code, notes, and snippets.

@dyson
Last active August 29, 2015 14:19
Show Gist options
  • Save dyson/b69293135c759873e41c to your computer and use it in GitHub Desktop.
Save dyson/b69293135c759873e41c to your computer and use it in GitHub Desktop.
Ubuntu Install Ruby
$ sudo apt-get install git git-flow
$ sudo apt-get install build-essential libgdbm-dev libreadline-dev libssl-dev
$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
$ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
$ exec $SHELL
$ rbenv install -l
$ rbenv install 2.2.2
$ rbenv global 2.2.2
$ gem install bundler
$ gem install rails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment