Looks like version 1.6.5 adds support for Ruby 2.1.0. - Works as expected.
Update: Since Ruby 2.1.1 has been released version 1.6.8 of Debugger should be used.
Question
I just upgraded my RVM Ruby installation to version 2.1.0 and tried to bundle install when I got the following error:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
Ruby version 2.1.0 is not supported.
*** extconf.rb failed ***
The error of course is self-explanatory, but I was wondering if there was a way to make the Debugger gem work with the latest release of Ruby?
La solution
Looks like version 1.6.5 adds support for Ruby 2.1.0. - Works as expected.
Update: Since Ruby 2.1.1 has been released version 1.6.8 of Debugger should be used.
Autres conseils
For those using Ruby 2.1.2 and running into this error while building native gem extension:
No such file or directory @ rb_file_s_stat - ./212/ruby_debug.h (Errno::ENOENT)
The conclusion is to use byebug (https://github.com/cldwalker/debugger/issues/131)
The release 1.6.4 is expected to have limited 2.1.0 support (which I guess would mean it should at least compile and run). Here's the commit.
However, other users reported a compilation issue two days ago (#110). You may follow the discussion to see when the issue will be fixed. You can also post your compilation error and environment details in the ticket so that the maintainer will have more information available.