fir-cli
fir-cli copied to clipboard
mac m1 install failed
sudo gem install fir-cli
Please ensure that your Gemfiles and .gemspecs are suitably restrictive to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0). See https://github.com/rubyzip/rubyzip for details. The Changelog also lists other enhancements and bugfixes that have been implemented since version 2.3.0. Successfully installed rubyzip-2.3.2 Successfully installed ruby_android_apk-0.7.7.1 Successfully installed chunky_png-1.4.0 Successfully installed rqrcode-0.10.1 Successfully installed netrc-0.11.0 Successfully installed mime-types-data-3.2022.0105 Successfully installed mime-types-3.4.1 Building native extensions. This could take a while... ERROR: Error installing fir-cli: ERROR: Failed to build gem native extension.
current directory: /opt/homebrew/lib/ruby/gems/3.1.0/gems/unf_ext-0.0.8.2/ext/unf_ext
/opt/homebrew/opt/ruby/bin/ruby -I /opt/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0 -r ./siteconf20220905-90371-s9wveu.rb extconf.rb checking for -lstdc++... *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
老哥 比较推荐使用 rvm 安装 ruby
据传这样也行 先 brew install coreutils
我手上没 m1 的电脑 您要不试试?
自行购买了个m2pro 来试试好使不....
兄弟 我试了下。 最新版本是可以安装的