After that, you can update to the latest version by simply running romup in your Terminal if you have the Prime version, or rom update in the Ultimate version. If you’re a Ruby on Mac customer, check your email for a link to download the latest version. For older Ruby versions, you’ll still need the workarounds. UPDATE on 11/26: Ruby 3.1.3, 3.0.5, and 2.7.7 are now available, so you should be able to install them without any of the workarounds mentioned in this article. I confirmed this on my M1 MacBook Air by cloning the Ruby GitHub repo, checking out the ruby_3_1 branch, and compiling Ruby 3.1.3. This means that when 3.1.3 and 2.7.7 are released, you’ll be able to install them without any workarounds. UPDATE: PR 6440 in the Ruby GitHub repo fixes this issue in 3.1 and 2.7. If the version starts with 14, then keep reading. You can find out which version of the command line tools and/or Xcode you’re using by running brew config, then look for the lines that start with CLT: and Xcode. If you’ve recently updated your Intel or Apple Silicon Mac to macOS 12.6.x (Monterey) or 13.x (Ventura), or if you updated the Apple command line tools and/or Xcode to version 14 on macOS 12.5 or higher, and are unable to install Ruby or certain gems (most likely due to an error that says “ld: symbol(s) not found for architecture arm64” or “ld: symbol(s) not found for architecture x86_64”), this guide is for you.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |