Sha256: b073f0455de86ba113f8fcd8c0bb76bdb3141cc59a7414dced9912502dcadf4a

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

if [[ "$OSTYPE" == "linux-gnu" ]]; then
  sudo apt-get install git
elif [[ "$OSTYPE" == "darwin"* ]]; then
  #mac os x
  brew install git
fi

#clone rbenv
git clone https://github.com/sstephenson/rbenv.git

if [[ "$OSTYPE" == "linux-gnu" ]]; then
  echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
  echo 'eval "$(rbenv init -)"' >> ~/.bashrc
elif [[ "$OSTYPE" == "darwin"* ]]; then
  #mac os x
  echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
  echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
  echo 'Mac OSX'
fi

#install ruby
rbenv install 2.2.3

gem install bundler rails

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aka2-0.1.10.pre install.sh