![]() ![]() Instead, it's recommended to update the project to at least the latest patch version (the third digit).įor example, if your project is currently using Ruby 2.6.6, or any version of 2.6 lower than 2.6.10, the first thing I recommend you do is update it to 2.6.10. They get stuck because they think they have to use the version of Ruby that's specified in the project's. This is another common source of confusion because people don't understand how Ruby versioning works. Downgrade to version 13.4 of the command line tools (does not work with Ventura)ĭo your solutions only work with 2.6.10? I need an older version!. ![]() Install Ruby 2.6.10 with Ruby on Mac Ultimate.You can skip directly to each solution with the links below, but I highly recommend reading the whole article to better understand how Ruby installation works on a Mac, and why most solutions people try don't work. The truth is that it is possible to install Ruby 2.6 on an Apple Silicon Mac, and in this article I'll show you 3 different ways to do that. Some people say to use Rosetta, and others say forget about 2.6 and update your project to 2.7. People try all kinds of things but no one seems to be able to succeed. ruby -version: ruby 2.6."How can I install Ruby 2.6.x on a Mac M1/M2?" I get asked this question a lot, and I see it often in the various online Ruby hangouts.Did anyone know how to fix this? Thanks in advance. System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/Library/Ruby/Gems/2.6.0/gems/date-3.1.1/lib/date_core.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/date-3.1.1/lib/date_core.bundle - /Library/Ruby/Gems/2.6.0/gems/date-3.1.1/lib/date_core.bundle (LoadError)įailed during: /opt/homebrew/bin/brew update -force -quiet HEAD is now at 3f4bcd7eb Merge pull request #10471 from MikeMcQuaid/formula-language-javaĢ2: from /opt/homebrew/Library/Homebrew/brew.rb:31:in `'Ģ1: from /opt/homebrew/Library/Homebrew/brew.rb:31:in `require_relative'Ģ0: from /opt/homebrew/Library/Homebrew/global.rb:23:in `'ġ9: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'ġ8: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'ġ7: from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.1/lib/active_support/core_ext/numeric/time.rb:3:in `'ġ6: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'ġ5: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'ġ4: from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.1/lib/active_support/duration.rb:3:in `'ġ3: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'ġ2: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'ġ1: from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.1/lib/active_support/core_ext/array/conversions.rb:3:in `'ġ0: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'ĩ: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'Ĩ: from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.1/lib/active_support/xml_mini.rb:3:in `'ħ: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'Ħ: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'ĥ: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/time.rb:3:in `'Ĥ: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'ģ: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'Ģ: from /Library/Ruby/Gems/2.6.0/gems/date-3.1.1/lib/date.rb:4:in `'ġ: from /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' It gives information listed: => /usr/bin/sudo /usr/sbin/chown -R ron:admin /opt/homebrew ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |