Tom Gallagher

Joined

220 Experience
2 Lessons Completed
0 Questions Solved

Activity

Posted in Setup MacOS 11.0 Big Sur Discussion

Hey Lucas,

Perhaps try reinstalling the ASDF ruby plugin:
asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git

Links:
https://github.com/asdf-vm/asdf/issues/797
https://github.com/thoughtbot/dotfiles/issues/577

Good luck, Tom

Posted in Setup MacOS 11.0 Big Sur Discussion

Hi Chris, thanks for the guide, it was helpful.

I ran into some issues installing ruby 2.6.6 on the following:

macOS Big Sur Version 11.2.3
Xcode Version 12.4

After hours of failed compiles with lots of unhelpful missing 'require' messages (and rdoc even failing at one point, right before the end) I ended up using 'asdf' instead of 'rbenv'. important Specifically installing the following libs with homebrew before attempting the ruby install seemed to do the trick:

brew install gpg zlib openssl readline libyaml
brew install asdf

Then, finally:

asdf install ruby 2.6.6
asdf reshim ruby

Hope this helps someone else to save some time,
Tom

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2023 GoRails, LLC. All rights reserved.