Article to help developers trying out fastlane for the first time. Most of the motivation is dependent on how smooth we manage to do the setup. Here is a way I found useful.

I have also updated in one of the answer on Stack Overflow

Lets get started

Install ruby

sudo apt install ruby ruby-dev

Add following to top of your “~/.profile” file

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

Check of any errors with source ~/.profile command. If there is not output means all is good.

2. Install Build essentials

sudo apt-get update
sudo apt-get install build-essential

3. Fastlane depends on Google API Clint lets install that first

sudo gem install google-api-client

4. Install Fastlane

sudo gem install fastlane -NV

Check your installation

fastlane -v
Successful installation

What next?

You may check out how to setup project. Fastlane Setup for Android