andymeneely / squib

A Ruby DSL for prototyping card games.
http://squib.rocks
MIT License
918 stars 67 forks source link

Squib post-installation with Gem on M1 Macbook error: dyld[xxxx] missing symbol called 'new' #381

Open HelloImKevo opened 1 year ago

HelloImKevo commented 1 year ago

Describe the bug Squib version 0.19.0 appears to have successfully installed using ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [arm64-darwin22] on a Macbook M1, but something is busted under the hood -- the basic commands like squib new or squib help result in "missing symbol called" errors:

{11:53}~/GitProjects/SquibPlayground:master ✓ ➭ squib new test-game
dyld[6131]: missing symbol called
[1]    6131 abort      squib new test-game

To Reproduce I used a combination of Homebrew and rbenv to install Ruby 3.0.6, like:

brew install rbenv

rbenv init
rbenv install -l
rbenv install 3.0.6
rbenv global 3.0.6

Some Additional Tips
https://antran.app/2021/m1_mac_part2/
https://stackoverflow.com/questions/76618549/dyldxxxxx-missing-symbol-called-after-update-to-ruby-3-1-4
https://stackoverflow.com/questions/76447424/rails-on-m2-dyld-missing-symbol-called
https://stackoverflow.com/a/12150580/2329326

I also read through the open issue: https://github.com/andymeneely/squib/issues/375 to help get the initial installation to succeed, and this post on the BGG forums was helpful for troubleshooting: https://boardgamegeek.com/thread/2985750/issues-installing-macbook-m1-pro

Screenshots squib-terminal

Environment

Check the following:

rhydlewis commented 5 months ago

Same problem for me. I installed a Linux VM using UTM as a workaround...