【问题标题】:fastlane -v command shows Ignoring executable-hooks-1.6.1 because its extensions are not built. Try: gem pristine executable-hooks --version 1fastlane -v 命令显示 Ignoring executable-hooks-1.6.1 因为它的扩展未构建。尝试: gem pristine executable-hooks --version 1
【发布时间】:2021-12-19 11:02:25
【问题描述】:

我使用的是 ruby​​ 3.0.0 版和 fastlane 2.197 版。

我该如何解决这个问题?

运行 gem pristine digest-crc --version 0.6.4 后,没有解决

fastlane -v 
Ignoring digest-crc-0.6.4 because its extensions are not built. Try: gem pristine digest-crc --version 0.6.4
Ignoring unf_ext-0.0.8 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.8
fastlane installation at path:
/Users/name/.rvm/gems/ruby-3.0.0/gems/fastlane-2.197.0/bin/fastlane
-----------------------------
[⠋] ???? Ignoring executable-hooks-1.6.1 because its extensions are not built. Try: gem pristine executable-hooks --version 1.6.1
Ignoring gem-wrappers-1.4.0 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.4.0
[✔] ???? 
fastlane 2.197.0

【问题讨论】:

    标签: ruby rubygems rvm fastlane


    【解决方案1】:

    我遇到了类似的错误:

    (升级到 macOS Monterey 后开始出现该错误。)

     Ignoring clocale-0.0.4 because its extensions are not built. Try: gem pristine clocale --version 0.0.4
    

    对我来说,问题在于Gems 文件夹的权限。

    我解决了:

    sudo chown -R $(whoami) /Library/Ruby/Gems
    

    后跟建议的命令:

    gem pristine clocale --version 0.0.4
    

    【讨论】:

    • 在 Gems 中这个版本是什么? cd /Library/Ruby/Gems Gems % ls 2.6.0 我的是 2.6.0
    • 我用的是m1机器
    • 以上在 m1 机器(大苏尔)中对我不起作用
    • 在 Gems 文件夹中,我也有 2.6.0 版本。我不知道这是否有什么不同,我有一台 Intel Mac(现在有 macOS Monterey)。
    猜你喜欢
    • 2019-01-29
    • 1970-01-01
    • 1970-01-01
    • 2021-02-18
    • 2017-01-30
    • 2021-03-30
    • 2019-07-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多