I have this setup:
I run bundle install
and everything looks ok, but when I run rails server
, it returns this message:
dyld: lazy symbol binding failed: Symbol not found: __ZN2v82V821AddGCPrologueCallbackEPFvNS_6GCTypeENS_15GCCallbackFlagsEES1_
Referenced from: /Users/cleytonmessias/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.12.1/lib/v8/init.bundle
Expected in: flat namespace
dyld: Symbol not found: __ZN2v82V821AddGCPrologueCallbackEPFvNS_6GCTypeENS_15GCCallbackFlagsEES1_
Referenced from: /Users/cleytonmessias/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/therubyracer-0.12.1/lib/v8/init.bundle
Expected in: flat namespace
Trace/BPT trap: 5
I've seen some people with this problem here but no solution until now.
Here's my Gemfile.
I am actually not Mac user but for curiosity I tried to find solution. I see that there is an incompatibility of software with particular OS X version. Most of the solution is shows to upgrade software. Out of many answers following seems correct to me :
gem uninstall therubyracer
gem install therubyracer -v '0.12.2' -- --with-system-v8
In my Ubuntu system, I am using NodeJS as a javascript runtime. I suggest to use it if possible.
Hope that helps!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With