diff options
-rwxr-xr-x | bin/leap | 1 | ||||
-rw-r--r-- | leap_cli.gemspec | 6 | ||||
-rw-r--r-- | lib/leap_cli.rb | 3 |
3 files changed, 6 insertions, 4 deletions
@@ -18,7 +18,6 @@ rescue LoadError # This allows you to run the command directly while developing the gem, and also lets you # run from anywhere (I like to link 'bin/leap' to /usr/local/bin/leap). # - require 'rubygems' base_dir = File.expand_path('..', File.dirname(File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__)) require File.join(base_dir, 'lib','leap_cli','load_paths') require 'leap_cli' diff --git a/leap_cli.gemspec b/leap_cli.gemspec index d0b9a99..10ed371 100644 --- a/leap_cli.gemspec +++ b/leap_cli.gemspec @@ -56,14 +56,14 @@ spec = Gem::Specification.new do |s| s.add_runtime_dependency('tee') # network gems + s.add_runtime_dependency('net-ssh', '~> 2.7.0') + # ^^ we can upgrade once we get off broken capistrano + # https://github.com/net-ssh/net-ssh/issues/145 s.add_runtime_dependency('capistrano', '~> 2.15.5') - #s.add_runtime_dependency('supply_drop') - # ^^ currently vendored # crypto gems #s.add_runtime_dependency('certificate_authority', '>= 0.2.0') # ^^ currently vendored - s.add_runtime_dependency('net-ssh') s.add_runtime_dependency('gpgme') # not essential, but used for some minor stuff in adding sysadmins # misc gems diff --git a/lib/leap_cli.rb b/lib/leap_cli.rb index e8f7ecf..2ca68c4 100644 --- a/lib/leap_cli.rb +++ b/lib/leap_cli.rb @@ -8,6 +8,9 @@ $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__)) +require 'rubygems' +gem 'net-ssh', '~> 2.7.0' + require 'leap/platform' require 'leap_cli/version' |