Ruby 2.0.0: An error occurred while installing binding_of_caller ( How to fix this error when updating to Ruby 2.0 I recently updated two of the Rails apps I'm working with to use Ruby 2.0 When running bundle install I came across this error: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/Gavin/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb creating Makefile make compiling binding_of_caller.c binding_of_caller.c:4:10: fatal error: 'vm_core.h' file not found #include "vm_core.h" ^ 1 error generated. make: *** [binding_of_caller.o] Error 1 Gem files will remain installed in /Users/Gavin/.rvm/gems/[email protected]/gems/binding_of_caller-0.6.8 for inspection. Results logged to /Users/Gavin/.rvm/gems/[email protected]/gems/binding_of_caller-0.6.8/ext/binding_of_caller/gem_make.out An error occurred while installing binding_of_caller (0.6.8), and Bundler cannot continue. Make sure that `gem install binding_of_caller -v '0.6.8'` succeeds before bundling. The problem, as mentioned in this thread on Github, is that 0.7.1 is the minimum version of binding_of_caller that supports Ruby 2.0. I wasn't sure which of my apps gems were dependent on binding_of_caller 0.6.8 so I ran bundle update. I also updated Rails from version 3.2.11 to 3.2.12 Problem solved!