Stable Ruby with RVM installation:
\curl -sSL https://get.rvm.io | bash -s stable --ruby
Run command: rvm list
Use command: rvm use "version" to use required ruby
Go inside the folder where you want to start project and run command: cucumber --init
Create gem file and add neccessary gems and keep file inside project folder
Go inside the project folder where gem file is placed and rub command: make gems
Chrome should be updated
brew cask install chromedriver
Go inside project folder and run command: cucumber