pry-stack_explorer icon indicating copy to clipboard operation
pry-stack_explorer copied to clipboard

lazy symbol binding failed: Symbol not found: _rb_vm_make_env_object

Open jmuheim opened this issue 12 years ago • 7 comments

I added

gem 'pry-stack_explorer'

to my Rails project's Gemfile, and now when doing rails console, I get the following:

macbuech:tttt josh$ rails c
Loading development environment (Rails 3.2.5)
dyld: lazy symbol binding failed: Symbol not found: _rb_vm_make_env_object
  Referenced from: /Users/josh/.rvm/gems/ruby-1.9.3-p0@tttt/gems/binding_of_caller-0.6.7/lib/binding_of_caller.bundle
  Expected in: flat namespace

dyld: Symbol not found: _rb_vm_make_env_object
  Referenced from: /Users/josh/.rvm/gems/ruby-1.9.3-p0@tttt/gems/binding_of_caller-0.6.7/lib/binding_of_caller.bundle
  Expected in: flat namespace

Trace/BPT trap: 5

jmuheim avatar Jul 15 '12 20:07 jmuheim

Happening to me too. I'm using Ruby 1.9.3p125

maxjustus avatar Oct 10 '12 20:10 maxjustus

i had this issue using ruby 1.9.3-p125. changing my ruby version to 1.9.3-p194 fixed it for me.

koryteg avatar Dec 19 '12 22:12 koryteg

Can either of you try going back up to p125 and then re-doing the gem install binding_of_caller ?

rking avatar Dec 19 '12 22:12 rking

@rking I tried that before and it did not work for me. i was doing a rake db:migrate when it wasnt working for me

koryteg avatar Dec 19 '12 22:12 koryteg

@rking I'm using rbenv and ruby 1.9.-p125. This gem was recently added to our rails project (within the last week) and this issue still exists.

amk-boCO avatar Feb 07 '13 16:02 amk-boCO

@amk-boCO does it happen when you upgrade to the latest ruby patchlevel? p125 is very old by now

banister avatar Feb 07 '13 16:02 banister

via this thread @mperham sez: Try gem install eventmachine again.

johana-star avatar Feb 25 '13 02:02 johana-star