How to set Ruby Path in MAC | Appium Training|Appium tutorials
10% December Month Discount - Avail now

How to set Ruby Path in MAC

Pankaj Post on 07/10/2018

gem install xcpretty --user-install

WARNING:  You don't have /Users/pankajsharma/.gem/ruby/2.3.0/bin in your PATH,

  gem executables will not run.

Successfully installed rouge-2.0.7

Fetching: xcpretty-0.3.0.gem (100%)

Successfully installed xcpretty-0.3.0

Parsing documentation for rouge-2.0.7

Installing ri documentation for rouge-2.0.7

Parsing documentation for xcpretty-0.3.0

Installing ri documentation for xcpretty-0.3.0

Done installing documentation for rouge, xcpretty after 4 seconds

2 gems installed

Is it Correct if i set the Ruby Path Like this

export PATH=$PATH:/Users/pankajsharma/.gem/ruby/2.3.0/bin

Or i need to set some other path properties too for Ruby.



Support Team Reply on 17/10/2018

Kindly check first video of ios . Setting all environment variables is shown in the same