spec/spec_helper.rb in citeproc-ruby-1.0.5 vs spec/spec_helper.rb in citeproc-ruby-1.0.6
- old
+ new
@@ -19,11 +19,13 @@
when RUBY_PLATFORM == 'java'
# require 'debug'
# Debugger.start
when defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
require 'rubinius/debugger'
- else
+ when RUBY_VERSION < '2.0'
require 'debugger'
+ else
+ require 'byebug'
end
rescue LoadError
# ignore
end