lib/ruby-debug/processor.rb in ruby-debug-ide-0.4.6 vs lib/ruby-debug/processor.rb in ruby-debug-ide-0.4.7
- old
+ new
@@ -1,6 +1,11 @@
-require 'ruby-debug/interface'
-require 'ruby-debug/command'
+if RUBY_VERSION < "1.9"
+ require 'ruby-debug/interface'
+ require 'ruby-debug/command'
+else
+ require_relative 'interface'
+ require_relative 'command'
+end
module Debugger
class ControlCommandProcessor # :nodoc:
def initialize(interface)