You can clone with
On FreeBSD you get the following error:
/libexec/ld-elf.so.1: /usr/local/lib/ruby/gems/1.9/gems/binding_of_caller-0.6.8/lib/binding_of_caller.so: Undefined symbol "RUBY_FREE_ENTER"
what ruby version?
% ruby -v
ruby 1.9.3p327 (2012-11-10 revision 37606) [amd64-freebsd8]
Yep, that happens when the system "ruby" is not the one the gem is being built for.
You need to fix the Rakefile to not call "ruby extconf.rb"...
Oh, and the other problem is that gc.h typically is defined on development machines where Boehm gc is installed.
-- rename the two instances of gc.h in here to rubys_gc.h
-- change the include in binding_of_caller.c to
-- zap the gem spec
-- rake gemspec; rake gem
Does this problem still happens on master?
No, it works for me on freebsd 9.1 using ruby 1.9.3. I can also test 2.0 tomorrow if you want.
I am going to close this issue. If someone has this bug again, we can reopen it.
Thanks, @jan0sch, @cabo
I ran into the same issue, in my case it's Ruby 1.9.3p392, installed via RVM on OS X 10.9.0.
Even in master?