I get this error when trying to install ruby-debug-base:
gem install ruby-debug-base -v '0.10.5.rc10'
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug-base:
ERROR: Failed to build gem native extension.
/Users/Apple/.rvm/rubies/ruby-2.2.2/bin/ruby -r ./siteconf20170113-95768-blsdlx.rb extconf.rb
Ruby version 2.2.2 is too new
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
extconf failed, exit code 1
Gem files will remain installed in /Users/Apple/.rvm/gems/ruby-2.2.2@dcaclab/gems/ruby-debug-base-0.10.5.rc10 for inspection.
Results logged to /Users/Apple/.rvm/gems/ruby-2.2.2@dcaclab/extensions/x86_64-darwin-16/2.2.0/ruby-debug-base-0.10.5.rc10/gem_make.out