Skip to content

Instantly share code, notes, and snippets.

@mrugeshtank
Created September 4, 2024 14:58
Show Gist options
  • Save mrugeshtank/63f32fce8718d982e962f9c2bcf82177 to your computer and use it in GitHub Desktop.
Save mrugeshtank/63f32fce8718d982e962f9c2bcf82177 to your computer and use it in GitHub Desktop.
Install on new system
//To update ruby
//install rvm
curl -sSL https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer | bash -s stable
//to check rvm is installed or not
rvm list known
//to install new ruby
rvm install ruby@latest
OR
//install rvm
sudo curl -L https://get.rvm.io | bash -s stable --ruby
// set version usage
rvm use ruby-3.1.1
// set default version usage
rvm --default use 3.1.1
//to install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
//to install cocoapods
sudo gem install cocoapods
//to install fastlane
sudo gem install fastlane
//to update bundler
bundle update --bundler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment