tmm1/perftools.rb

Ruby 2 support

Opened this issue · 1 comments

Do perftools.rb support Ruby 2? I get compile errors like:

perftools.c: In function ‘rb_stack_trace’:
perftools.c:159:9: error: ‘ID_ALLOCATOR’ undeclared (first use in this function)

If Ruby 2 is not supported yet, perhaps required_ruby_version could be set in the Gemspec and mentioned in the README.

LFDM commented

Having this issue myself - however, it seems that the perftools itself are not directly to blame, cf.: http://www.ruby-forum.com/topic/4407660