我正在使用 FaSTLane
我的管理员帐户 (Mac OS),它运行良好。
我现在尝试安装和配置 Jenkins
+ FaSTLane
但是当 jenkins 尝试运行 faSTLane 命令时,我收到错误:找不到 gem faSTLane (>= 0.a) 与可执行 faSTLane (Gem::GemNotFoundException)
我的 faSTLane 安装路径是:/Users/myusername/.rvm/rubies/ruby-2.4.2/bin
当我尝试在 jenkins 帐户 (su jenkins) 中更新 faSTLane 时,控制台说我不是 sudo。我的帐户没有错误。
已经尝试在 jenkins conf 中注入(inject) Path 并设置 RVM 管理的环境版本。但它失败了。
最佳答案
使用下面的任何一个
使用 RubyGems
sudo gem install fastlane -NV
或者使用 Homebrew
brew cask install fastlane
引用链接 link
关于macos - Jenkins - FaSTLane 找不到 gem faSTLane,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48687426/