macos - Jenkins - FaSTLane 找不到 gem faSTLane

标签 macos jenkins fastlane

我正在使用 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/

相关文章:

testing - 如何使用 Jenkins 管道在多个节点上运行同一组作业

xcode - FaSTLane 从标识符中检索配置文件路径

java - 程序抛出 OutOfMemoryError : Java heap space when run in Mac but not in Ubuntu

macos - 如何通过VSCode在新窗口中始终打开文件?

jenkins - Jenkins 管道中的变量

maven - 如何使用 jenkins 在单个存储库中构建两个不同的项目

FaSTLane Match 无法使用个人访问 token 和用户名连接

Xcode 错误 ITMS-90783 : "Missing bundle display name"

git - Mac : Could not symlink share/man/man5/gitattributes. 5 中的 brew 安装 git 错误

java -/bin/bash :/bin/java: No such file or directory error in Yarn apps in MacOS