setup.sh 296 B

123456789101112131415161718
  1. #!/bin/zsh
  2. # Install ruby using rbenv
  3. ruby_version=`cat .ruby-version`
  4. if [[ ! -d "$HOME/.rbenv/versions/$ruby_version" ]]; then
  5. rbenv install $ruby_version;
  6. rbenv init
  7. fi
  8. # Install bunlder
  9. gem install bundler
  10. # Install all gems
  11. bundle install
  12. # Install all pods
  13. bundle exec pod install