执行命令sudo gem update --system时报下面的错误: ERROR: Error installing rubygems-update: There are no versions of rubygems-update (= 3.5.23) compatible with your Ruby & RubyGems rubygems-update requires Ruby version >= 3.0.0. The current ruby version is 2.6.10.210. ERROR: While executing...
当你遇到“error installing rubygems-update: rubygems-update-3.5.7 requires ruby version”这样的错误时,通常意味着你当前安装的Ruby版本与rubygems-update-3.5.7所需的版本不兼容。为了解决这个问题,你可以按照以下步骤操作: 确认用户当前Ruby版本: 首先,你需要确认当前安装的Ruby版本。你可以通过运行以下命令来查...
ERROR: Error installing rubygems-update: There are no versions of rubygems-update (= 3.4.3) compatible with your Ruby & RubyGems rubygems-update requires Ruby version >= 2.6.0. The current ruby version is 2.5.9.229. ERROR: While executing gem ... (Errno::ENOENT) No such file or direc...
I will walk you through the steps to resolve the “Installing Ruby Gems Error: Looks like your iOS environment is not properly set up” error. We will cover the process, code snippets to use, and explanations for each step.
sudogem update--system 1. Step 3: Verify the Updated Version After updating RubyGems, verify the new version by running the following command: gem-v 1. Make sure the displayed version number is greater than or equal to 3.0.1. Step 4: Install Bundler ...
Bydefault,binaries installed by gem will be placed into:/usr/local/lib/ruby/gems/3.1.0/bin You may want to addthisto your PATH.rubyiskeg-only,which means it was not symlinked into/usr/local,because macOS already providesthissoftware and installing another versioninparallel can cause all kind...
sudo gemupdate--system 2、更新cocoapods sudo gem install -n /usr/local/bin cocoapods 结果报错: Building native extensions. This could take awhile...ERROR:Errorinstalling cocoapods:ERROR: Failedtobuild gem native extension. current directory: /Library/Ruby/Gems/2.3.0/gems/ffi-1.12.2/ext/ffi...
ERROR:Whileexecuting gem...(Gem::FilePermissionError)You don't have write permissionsforthe/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0directory. 说是没有权限,那我就加上权限,然后使用: $ sudo gem install cocoapods ...
ERROR: Error installing bigdecimal: ERROR: Failed to build gem native extension. current directory: /Library/Ruby/Gems/2.6.0/gems/bigdecimal-3.0.0/ext/bigdecimal /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/r...
cocoapods的安装 遇到 Error installing pods:activesupport requires Ruby version >=2.2.2,1.打开终端2移除现有Ruby默认源输入以下指令$gemsources--removehttps://rubygems.org/3.使用新的源输入以下指令 $gemsources-ahttps://ruby.taobao.org/4.验证新源是否