helm/dev/ruby/install
2016-10-19 16:56:37 +02:00

13 lines
322 B
Bash
Executable file

#!/bin/bash
case "$OSTYPE" in
darwin*)
brew install rbenv
;;
linux*)
git clone https://github.com/rbenv/rbenv.git $HOME/.rbenv
cd $HOME/.rbenv && src/configure && make -C src
git clone https://github.com/rbenv/ruby-build.git $HOME/.rbenv/plugins/ruby-build
;;
esac