aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-11-10 14:40:47 -0800
committerelijah <elijah@riseup.net>2014-11-10 14:40:47 -0800
commitbc8e62a89d98648c9197f4feaeb1933441faba9f (patch)
tree013868f5bc113206b8e8288e7e230c1a5da1297e
parent32e89e92600a361bdfe65ef34e3ac874515919f5 (diff)
downloadleap_cli-bc8e62a89d98648c9197f4feaeb1933441faba9f.tar.gz
leap_cli-bc8e62a89d98648c9197f4feaeb1933441faba9f.tar.bz2
pin gem gli to a version we know will work.
-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'