Skip to content

Instantly share code, notes, and snippets.

@takuyan
Created January 4, 2016 13:17
Show Gist options
  • Save takuyan/8be0b9ed7a5e5d1f6fc9 to your computer and use it in GitHub Desktop.
Save takuyan/8be0b9ed7a5e5d1f6fc9 to your computer and use it in GitHub Desktop.
ruby error on rails s
$ r s
dyld: lazy symbol binding failed: Symbol not found: _rb_data_object_alloc
Referenced from: /Users/takuyan/dev/github/scrum/vendor/bundle/gems/nokogiri-1.6.6.2/lib/nokogiri/nokogiri.bundle
Expected in: flat namespace
dyld: Symbol not found: _rb_data_object_alloc
Referenced from: /Users/takuyan/dev/github/scrum/vendor/bundle/gems/nokogiri-1.6.6.2/lib/nokogiri/nokogiri.bundle
Expected in: flat namespace
[1] 30819 trace trap rails s
@mhulet
Copy link

mhulet commented Nov 9, 2016

On my side, I also had to:

  1. delete everything under vendor/bundle directory: rm -Rf vendor/bundle/*
  2. run bundle install

@assafshomer
Copy link

yes, also for me, delete the .bundle dir and rebundle fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment