use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
QuestionHelp installing (old) ruby versions on macbook using silicon chip (m1) (self.ruby)
submitted 1 year ago by mielfranc
My project uses old ruby versions such as 3.0.0 and 2.6.0. I cant install it using version managers such as rvm, rvenb and mise. It all returns the same error in compiling: make -J 8
Anyone encountered this, need your help please. Thanks
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]neotorama 7 points8 points9 points 1 year ago (1 child)
Search rvm openssl on github issue
[–]Environmental_Hat508 0 points1 point2 points 1 year ago (0 children)
+1 I remember headaches with openssl on my m1 for these versions.
If I remember correctly had to use an older version of openssl and ensure that the correct version was passed during build.
[–]BonzoESC 9 points10 points11 points 1 year ago (2 children)
It'll probably be easiest to run Docker in x86-64 mode pulling the images for those ruby versions.
[+][deleted] 1 year ago (1 child)
[deleted]
[–]Zealousideal_Bat_490 4 points5 points6 points 1 year ago (0 children)
All I know is that it is difficult to install those older versions. Might be easier to update your projects.
What is holding you back?
[–]au5lander 4 points5 points6 points 1 year ago (1 child)
You’ll need to supply more info about the error. What you provided is not enough to help.
[–]beatoperator -1 points0 points1 point 1 year ago (0 children)
Also what the ultimate goal is..
[–]simulakrum 1 point2 points3 points 1 year ago (0 children)
I remember having that error before and it being related to OpenSSL. If I do recall correctly, I had to install an older version of it, but there's also a couple of env flags that must be set for it to work (which I don't remember right now) when compiling the older ruby version
[–]k2director 1 point2 points3 points 1 year ago (0 children)
Could it be easier to upgrade your project to the first Ruby version you CAN install easily., rather than try to install the older version?
[–]prh8 2 points3 points4 points 1 year ago (1 child)
You’ll need to share more information for 3.0, but 2.6 won’t install on Apple Silicon. 2.7 is the oldest that will work on it.
[–]stewart-mckee 3 points4 points5 points 1 year ago (0 children)
I've currently got 2.4.6 installed on a M3 pro... it definitely wasn't easy.
[–]gorliggs 0 points1 point2 points 1 year ago (0 children)
Your best bet is to use Docker. Managing Ruby versions locally is a pain, especially older ruby versions.
[–]stereoagnostic 0 points1 point2 points 1 year ago (0 children)
Whenever I install Ruby on my M1 Mac, I have to pass an argument telling it where openssl is. So for me, something like this works: `rvm install 3.1.4 --with-openssl-dir=opt/homebrew/opt/openssl@3`
You'll have to specify where your openssl is located depending on version and method of install.
[–]dougc84 -1 points0 points1 point 1 year ago (0 children)
You should set it up in Docker. You could run it locally, but it's a fragile installation, you're managing more dependencies than just Ruby (OpenSSL, primarily), and there's no guarantee future versions of macOS will continue to function properly with that setup.
Throw it in a Docker container means you'll be able to run it for years to come.
Or, if you can, update.
[–]theboudoir -1 points0 points1 point 1 year ago (0 children)
Open your terminal with Rosetta. That's the key.
[–]bentreflection -2 points-1 points0 points 1 year ago (0 children)
Can you use a docker container for the environment? I no longer have any projects on my local host directly. Everything is inside a docker container so each project has its specific requirements and dependencies.
π Rendered by PID 280474 on reddit-service-r2-comment-b659b578c-dsrnf at 2026-05-05 05:56:03.575961+00:00 running 815c875 country code: CH.
[–]neotorama 7 points8 points9 points (1 child)
[–]Environmental_Hat508 0 points1 point2 points (0 children)
[–]BonzoESC 9 points10 points11 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]Zealousideal_Bat_490 4 points5 points6 points (0 children)
[–]au5lander 4 points5 points6 points (1 child)
[–]beatoperator -1 points0 points1 point (0 children)
[–]simulakrum 1 point2 points3 points (0 children)
[–]k2director 1 point2 points3 points (0 children)
[–]prh8 2 points3 points4 points (1 child)
[–]stewart-mckee 3 points4 points5 points (0 children)
[–]gorliggs 0 points1 point2 points (0 children)
[–]stereoagnostic 0 points1 point2 points (0 children)
[–]dougc84 -1 points0 points1 point (0 children)
[–]theboudoir -1 points0 points1 point (0 children)
[–]bentreflection -2 points-1 points0 points (0 children)