Skip to content

Instantly share code, notes, and snippets.

@joeboyscout04
Created December 13, 2017 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joeboyscout04/3d88ba70b90c742b9bea62e82ef1b0eb to your computer and use it in GitHub Desktop.
Save joeboyscout04/3d88ba70b90c742b9bea62e82ef1b0eb to your computer and use it in GitHub Desktop.
Install Ruby and Bundler for fastlane
# Install rbenv
$ brew install rbenv
# Install Ruby 2.3.1 using rbenv and set it global
$ rbenv install 2.3.1
$ rbenv global 2.3.1
$ ruby --version #version check
# Add the following to your ~/.bash_profile to set globally
# Ruby version
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
# Install bundler
$ sudo gem install bundler
# Navigate to fastlane folder and run bundler to install gems
$ cd myproject/fastlane
$ bundle install
# Now you can use bundler to run fastlane. Just prepend "bundle exec" before the fastlane command. Try it!
$ bundle exec fastlane mylane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment