I'm using Fastlane
one my admin account (Mac OS) and it works great.
I try now to install and configure Jenkins
+ Fastlane
but when jenkins try to run a fastlane commande, I get that error : can't find gem fastlane (>= 0.a) with executable fastlane (Gem::GemNotFoundException)
Path of my fastlane install is : /Users/myusername/.rvm/rubies/ruby-2.4.2/bin
When I try to update fastlane in jenkins account (su jenkins), console say I'm not sudo. No error with my account.
Already tried to inject Path in jenkins conf and to set RVM-managed environment version. But it failed.
Use anyone of below
sudo gem install fastlane -NV
brew cask install fastlane
See link for reference link
If you using pipeline in jenkins use sh 'gem install fastlane'
it works fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With