This installer will help you install Ruby with rbenv & ruby-build.
It is a port of the famous Ruby Enterprise Edition installer by Phusion (http://www.phusion.nl),
and should work on Linux, FreeBSD & OSX.
You can expect this from the installation process:
- Guidelines to install common dependencies
- rbenv will be installed in
~/.rbenv. - ruby-build will be installed in
~/.rbenv/plugins. - ruby-2.1.3 will be compiled in
~/.rbenv/versions/2.1.3. - Rubygems, Rake & Bundler will be installed.
Open a terminal and run this command (review script here)
bash <(curl https://raw.githubusercontent.com/goodtouch/rbenv-ruby-install/master/install-web)
Open a terminal and run those commands (git required)
git clone https://github.com/goodtouch/rbenv-ruby-install.gitcd rbenv-ruby-install./install
rm -rf ~/.rbenv- remove
export PATH="$HOME/.rbenv/bin:$PATH"andeval "$(rbenv init -)"from your~/.zshenv,~/.zshrcor~/.bash_profile
Enjoy !