From c24646fc158de2d770263a056f18484d0d7b6bee Mon Sep 17 00:00:00 2001 From: Valentin Fondaratov Date: Thu, 16 Nov 2017 17:23:27 +0300 Subject: [PATCH] add dependency on debase/ruby-debug-base --- ruby-debug-ide.gemspec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ruby-debug-ide.gemspec b/ruby-debug-ide.gemspec index 7cd29ef..4c974f3 100644 --- a/ruby-debug-ide.gemspec +++ b/ruby-debug-ide.gemspec @@ -42,6 +42,12 @@ EOF spec.extensions << "ext/mkrf_conf.rb" unless ENV['NO_EXT'] spec.add_dependency("rake", ">= 0.8.1") + if RUBY_VERSION < '2.0' || defined?(JRUBY_VERSION) + spec.add_dependency 'ruby-debug-base' + else + spec.add_dependency 'debase', '~> 0.2.2.beta11' + end + spec.required_ruby_version = '>= 1.8.2' spec.date = DateTime.now spec.rubyforge_project = 'debug-commons'