-
Notifications
You must be signed in to change notification settings - Fork 342
Open
Description
Steps to reproduce:
- Create new rails app (I tried with ruby 2.6.1 and 2.6.5 and rails 6 and latest release)
- Create a controller (rails generate controller-name action e.g. site index)
- Start rails server and go to url of above action (or set it as root in step 2)
- Rails server aborts abruptly
This is the error I receive:
dyld: lazy symbol binding failed: Symbol not found: _ffi_prep_closure_loc
Referenced from: /Users/Marco/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle
Expected in: /usr/lib/libffi.dylib
dyld: Symbol not found: _ffi_prep_closure_loc
Referenced from: /Users/Marco/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle
Expected in: /usr/lib/libffi.dylib
In my gemfile I have the following: gem 'ffi', '> 1.13', '>= 1.13.1'. I removed it and replaced it with gem 'ffi', '> 1.12.2' as per a suggestion on Stack Overflow and my issue is resolved.
Please let me know what other info I can provide to help. Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels