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