[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failure installing ruby 2.5.8 on intel mac sonoma 14.5 #5493

Open
kellyfelkins opened this issue Aug 14, 2024 · 1 comment
Open

failure installing ruby 2.5.8 on intel mac sonoma 14.5 #5493

kellyfelkins opened this issue Aug 14, 2024 · 1 comment

Comments

@kellyfelkins
Copy link

Description

I'm rebooting an old rails project and it would be helpful to use ruby 2.5.8. My plan it to get it operational and then work on modernizing it.

rvm install ruby-2.5.8 fails with "Error running '__rvm_make -j8'"

There are many warnings in the log file. Am I using the wrong compiler?

Steps to reproduce

  1. environment:
  • intel macbook pro
  • macos sonoma 14.5
  • rvm 1.29.12
  1. rvm install "ruby-2.5.8"

Expected behavior

Successfully installed ruby-2.5.8

Actual behavior

Error running '__rvm_make -j8'

gist with logs:

https://gist.github.com/kellyfelkins/0f2080d92ba929431647a08116d62b3c

Environment info

kelly@highgarden 1723653901_ruby-2.5.8 % rvm info

ruby-3.3.4:
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

system:
uname: "Darwin highgarden.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:09:52 PDT 2024; root:xnu-10063.121.3~5/RELEASE_X86_64 x86_64"
name: "OSX"
version: "14.5"
architecture: "x86_64"
bash: "/bin/bash => GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin23)"
zsh: "/bin/zsh => zsh 5.9 (x86_64-apple-darwin23.0)"
remote_path: "osx/14.5/x86_64"
xcode: ""

rvm:
version: "1.29.12 (latest)"
updated: "1 day 19 hours 8 minutes 58 seconds ago"
path: "/Users/kelly/.rvm"
autolibs: "[4] Allow RVM to use package manager if found, install missing dependencies, install package manager (only OS X)."

ruby:
interpreter: "ruby"
version: "3.3.4"
date: "2024-07-09"
platform: "x86_64-darwin23"
patchlevel: "2024-07-09 revision be1089c8ec"
full_version: "ruby 3.3.4 (2024-07-09 revision be1089c8ec) [x86_64-darwin23]"

homes:
gem: "/Users/kelly/.rvm/gems/ruby-3.3.4"
ruby: "/Users/kelly/.rvm/rubies/ruby-3.3.4"

binaries:
ruby: "/Users/kelly/.rvm/rubies/ruby-3.3.4/bin/ruby"
irb: "/Users/kelly/.rvm/rubies/ruby-3.3.4/bin/irb"
gem: "/Users/kelly/.rvm/rubies/ruby-3.3.4/bin/gem"
rake: "/Users/kelly/.rvm/rubies/ruby-3.3.4/bin/rake"

environment:
PATH: "/Users/kelly/.rvm/gems/ruby-3.3.4/bin:/Users/kelly/.rvm/gems/ruby-3.3.4@global/bin:/Users/kelly/.rvm/rubies/ruby-3.3.4/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/kelly/.rvm/bin"
GEM_HOME: "/Users/kelly/.rvm/gems/ruby-3.3.4"
GEM_PATH: "/Users/kelly/.rvm/gems/ruby-3.3.4:/Users/kelly/.rvm/gems/ruby-3.3.4@global"
MY_RUBY_HOME: "/Users/kelly/.rvm/rubies/ruby-3.3.4"
IRBRC: "/Users/kelly/.rvm/rubies/ruby-3.3.4/.irbrc"
RUBYOPT: ""
gemset: ""

kelly@highgarden 1723653901_ruby-2.5.8 %

@TaipeiHere
Copy link

please refer to: #5492 (comment)

and then so try: rvm install 2.5.8 --with-openssl-dir=$(brew --prefix openssl@1.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants