Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugger gem not supported in Ruby 2.1.0 / 2.1.1 / 2.1.2

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?

like image 410
Severin Avatar asked Dec 29 '13 15:12

Severin


2 Answers

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.

like image 127
Severin Avatar answered Sep 20 '22 21:09

Severin


This was mentioned in one of the comments, but I wanted to call attention to it:

byebug is the currently recommended debugger for Ruby 2.0+

This issue has been documented here, and cldwalker, the author of debugger, notes that debugger will be scoped to Ruby 1.9.2 and 1.9.3.

like image 33
Phil Avatar answered Sep 22 '22 21:09

Phil