<small id='apQxt'></small><noframes id='apQxt'>

      <tfoot id='apQxt'></tfoot>
    1. <legend id='apQxt'><style id='apQxt'><dir id='apQxt'><q id='apQxt'></q></dir></style></legend>

      <i id='apQxt'><tr id='apQxt'><dt id='apQxt'><q id='apQxt'><span id='apQxt'><b id='apQxt'><form id='apQxt'><ins id='apQxt'></ins><ul id='apQxt'></ul><sub id='apQxt'></sub></form><legend id='apQxt'></legend><bdo id='apQxt'><pre id='apQxt'><center id='apQxt'></center></pre></bdo></b><th id='apQxt'></th></span></q></dt></tr></i><div id='apQxt'><tfoot id='apQxt'></tfoot><dl id='apQxt'><fieldset id='apQxt'></fieldset></dl></div>
          <bdo id='apQxt'></bdo><ul id='apQxt'></ul>
      1. Fastlane “nokogiri 需要 Ruby 版本 >= 2.3.0."错误

        时间:2023-07-09
          <tbody id='u0HQY'></tbody>

      2. <small id='u0HQY'></small><noframes id='u0HQY'>

            • <bdo id='u0HQY'></bdo><ul id='u0HQY'></ul>
              <legend id='u0HQY'><style id='u0HQY'><dir id='u0HQY'><q id='u0HQY'></q></dir></style></legend>
              1. <i id='u0HQY'><tr id='u0HQY'><dt id='u0HQY'><q id='u0HQY'><span id='u0HQY'><b id='u0HQY'><form id='u0HQY'><ins id='u0HQY'></ins><ul id='u0HQY'></ul><sub id='u0HQY'></sub></form><legend id='u0HQY'></legend><bdo id='u0HQY'><pre id='u0HQY'><center id='u0HQY'></center></pre></bdo></b><th id='u0HQY'></th></span></q></dt></tr></i><div id='u0HQY'><tfoot id='u0HQY'></tfoot><dl id='u0HQY'><fieldset id='u0HQY'></fieldset></dl></div>
                • <tfoot id='u0HQY'></tfoot>
                  本文介绍了Fastlane “nokogiri 需要 Ruby 版本 >= 2.3.0."错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在 Medium 上完成了本教程,以便将我的 Xcode 项目与 SonarQube 集成以获得一些指标.我还发现有人在这里有类似的问题,但没有答案:类似问题

                  如果我跑:

                  nicolas$ ruby --version

                  我得到的是ruby版本2.6.3,高于要求的2.3

                  <块引用>

                  ruby 2.6.3p62(2019-04-16 修订版 67580)[universal.x86_64-darwin19]

                  有谁知道如何解决这个问题,或者有任何预感吗?提前致谢,感谢您的帮助.

                  解决方案

                  在摸索了好几个解决方案后,终于解决了这个问题.发生的事情是我最初使用以下命令安装了 Fastlane:

                  brew cask install Fastlane

                  似乎它使用的是另一个版本的 ruby,而我有一个新版本.所以我卸载了它:

                  brew cask 卸载 Fastlane

                  然后我用这个命令重新安装了它:

                  sudo gem install -n/usr/local/bin fastlane -NV

                  因为我遇到了权限问题,然后一切正常.

                  参考和其他解决方案:

                  Github 线程

                  usr/local/bin

                  I finished this tutorial on Medium in order to integrate my Xcode project with SonarQube to have some metrics. Setup SonarQube - Swift. I was able to make it through the last step that is: running fastlane metrics on the terminal while being in the root of the project directory. But I get this error on step "slather".

                  nokogiri requires Ruby version >= 2.3.0., fastlane finished with errors:

                  I have also found that someone had a similar question here, but no answers: Similar Question

                  If I run:

                  nicolas$ ruby --version
                  

                  I get ruby version 2.6.3, which is higher than the required 2.3

                  ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]

                  Does anyone knows how to fix this, or got any hunches? Thanks in advance, I appreciate any help.

                  解决方案

                  After digging around and trying several solutions, I finally solved this. What happened was that I initially installed Fastlane with this command:

                  brew cask install Fastlane
                  

                  And it seems that it was using another version of ruby while I had a newer one. So I uninstalled it with:

                  brew cask uninstall Fastlane
                  

                  And then I re-installed it with this command:

                  sudo gem install -n /usr/local/bin fastlane -NV
                  

                  Because I was having problems with permissions and then all worked good.

                  References and other solutions:

                  Github thread

                  usr/local/bin

                  这篇关于Fastlane “nokogiri 需要 Ruby 版本 >= 2.3.0."错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何在 android studio 中集成 sonarqube? 下一篇:适用于 Android 的多模块项目的 SonarQube

                  相关文章

                  <tfoot id='GOJTJ'></tfoot>
                • <legend id='GOJTJ'><style id='GOJTJ'><dir id='GOJTJ'><q id='GOJTJ'></q></dir></style></legend>

                    <i id='GOJTJ'><tr id='GOJTJ'><dt id='GOJTJ'><q id='GOJTJ'><span id='GOJTJ'><b id='GOJTJ'><form id='GOJTJ'><ins id='GOJTJ'></ins><ul id='GOJTJ'></ul><sub id='GOJTJ'></sub></form><legend id='GOJTJ'></legend><bdo id='GOJTJ'><pre id='GOJTJ'><center id='GOJTJ'></center></pre></bdo></b><th id='GOJTJ'></th></span></q></dt></tr></i><div id='GOJTJ'><tfoot id='GOJTJ'></tfoot><dl id='GOJTJ'><fieldset id='GOJTJ'></fieldset></dl></div>

                      <small id='GOJTJ'></small><noframes id='GOJTJ'>

                        <bdo id='GOJTJ'></bdo><ul id='GOJTJ'></ul>