aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--leap_cli.gemspec2
-rw-r--r--lib/leap_cli.rb3
2 files changed, 4 insertions, 1 deletions
diff --git a/leap_cli.gemspec b/leap_cli.gemspec
index 10ed371..e9215fb 100644
--- a/leap_cli.gemspec
+++ b/leap_cli.gemspec
@@ -49,7 +49,7 @@ spec = Gem::Specification.new do |s|
#s.add_development_dependency('aruba')
# console gems
- s.add_runtime_dependency('gli','~> 2.5.0')
+ s.add_runtime_dependency('gli','~> 2.12.0')
s.add_runtime_dependency('command_line_reporter')
s.add_runtime_dependency('highline')
s.add_runtime_dependency('paint')
diff --git a/lib/leap_cli.rb b/lib/leap_cli.rb
index 2ca68c4..557350b 100644
--- a/lib/leap_cli.rb
+++ b/lib/leap_cli.rb
@@ -8,8 +8,11 @@ $ruby_version = RUBY_VERSION.split('.').collect{ |i| i.to_i }.extend(Comparable)
# ensure leap_cli/lib/overrides has the highest priority
$:.unshift(File.expand_path('../override',__FILE__))
+# for a few gems, things will break if using earlier versions.
+# enforce the compatible versions here:
require 'rubygems'
gem 'net-ssh', '~> 2.7.0'
+gem 'gli', '~> 2.12.0'
require 'leap/platform'