-
Notifications
You must be signed in to change notification settings - Fork 336
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
symbol not found in flat namespace '_ffi_prep_closure' #946
Comments
I encountered the same issue with I manually changed the |
This did not work for me. Getting the same error. |
Thanks @nowsta-olli , this helped me to resolve this issue. |
This also solved the issue for me. Thank you @nowsta-olli |
This works for me, thanks @nowsta-olli |
Bumping 1.9.25 for 1.15.5 did the trick for me |
I ran into the same problem on an Apple M1. In my case, my project had to remain on
If you want bundler to automatically use these options when installing
I was able to arrive at this solution after finding this comment by @reaperhulk for a similar issue in a Python project:
|
M1 v13 Ventura, you should be able to install older version with: but problem was when running after
|
It works. Thank you |
Macbook Pro
Chip: Apple M1 Pro
Ruby: 2.5.6
Rails : 4.2
When trying to setup a legacy ruby on rails application on my Macbook, I get stuck trying to run
rails s
with the following errorrequire': dlopen(/Users/chrisgeeq/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/ffi-1.9.25/lib/ffi_c.bundle, 0x0009): symbol not found in flat namespace '_ffi_prep_closure' - /Users/chrisgeeq/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/ffi-1.9.25/lib/ffi_c.bundle (LoadError)
I have tried reinstalling the ffi gem but the problem persist, not sure what to do at this point.
The text was updated successfully, but these errors were encountered: