Unable to install Ruby 2.3.8 on mac M1. (macOS 13.0.1 using ruby-build 20221124) #2098
-
I trying install ruby 2.3.8 using [email protected] (1.0.2u) because ruby version < 2.4 After run: Had error:
One of the error from log file:
Attached full log file: Additional info about environment:
If someone had similar issue please help! Thanks in advance 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
I tried frum, and it's works. Maybe this will help someone: On macOs Ventura. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, there is no way to build Ruby 2.3 with macOS 13.x Ventura or Xcode14. Ruby core team only support to build Ruby 2.7-3.1+ with them. |
Beta Was this translation helpful? Give feedback.
-
rbenv: /Users/manjula/.rbenv/versions/2.5.1 already exists Downloading ruby-2.5.1.tar.bz2... WARNING: ruby-2.5.1 is past its end of life and is now unsupported. ruby-build: using readline from homebrew BUILD FAILED (macOS 13.0.1 using ruby-build 20221124) Inspect or clean up the working tree at /var/folders/th/y8wwbp616svgczl6ky8b8rlw0000gq/T/ruby-build.20221202122628.16683.1li0z6 Last 10 log lines: Env : Mac OS 13 |
Beta Was this translation helpful? Give feedback.
I tried frum, and it's works. Maybe this will help someone:
RUBY_CFLAGS='-DUSE_FFI_CLOSURE_ALLOC -Wno-error=implicit-function-declaration' frum install 2.3.8 --with-openssl-dir=$(brew --prefix [email protected]) --enable-shared
On macOs Ventura.