From bc8e62a89d98648c9197f4feaeb1933441faba9f Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 10 Nov 2014 14:40:47 -0800 Subject: pin gem gli to a version we know will work. --- leap_cli.gemspec | 2 +- lib/leap_cli.rb | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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' -- cgit v1.2.3