diff --git a/Rakefile b/Rakefile index 864349e97..b45d6696b 100644 --- a/Rakefile +++ b/Rakefile @@ -9,6 +9,12 @@ begin gemspec.email = "todo@todo.com" gemspec.homepage = "http://github.com/mitchellh/hobo" gemspec.authors = ["Mitchell Hashimoto", "John Bender"] + + gemspec.add_dependency('virtualbox', '>= 0.4.3') + gemspec.add_dependency('net-ssh', '>= 2.0.19') + gemspec.add_dependency('net-scp', '>= 1.0.2') + gemspec.add_dependency('json', '>= 1.2.0') + gemspec.add_dependency('jashmenn-git-style-binaries', '>= 0.1.10') end Jeweler::GemcutterTasks.new rescue LoadError diff --git a/bin/hobo b/bin/hobo index f3592c4bf..55a20dd1b 100755 --- a/bin/hobo +++ b/bin/hobo @@ -2,10 +2,8 @@ begin require File.expand_path('../../.bundle/environment', __FILE__) rescue LoadError - # Fallback on doing the resolve at runtime. + # Fallback on rubygems require "rubygems" - require "bundler" - Bundler.setup end require 'git-style-binary/command' diff --git a/bin/hobo-down b/bin/hobo-down index 27103e5aa..7d5b9c5e8 100755 --- a/bin/hobo-down +++ b/bin/hobo-down @@ -2,10 +2,8 @@ begin require File.expand_path('../../.bundle/environment', __FILE__) rescue LoadError - # Fallback on doing the resolve at runtime. + # Fallback on rubygems require "rubygems" - require "bundler" - Bundler.setup end require 'git-style-binary/command' diff --git a/bin/hobo-resume b/bin/hobo-resume index 26fa81c32..49bacbd47 100755 --- a/bin/hobo-resume +++ b/bin/hobo-resume @@ -2,10 +2,8 @@ begin require File.expand_path('../../.bundle/environment', __FILE__) rescue LoadError - # Fallback on doing the resolve at runtime. + # Fallback on rubygems require "rubygems" - require "bundler" - Bundler.setup end require 'git-style-binary/command' diff --git a/bin/hobo-ssh b/bin/hobo-ssh index 49d83890b..838c3a77d 100755 --- a/bin/hobo-ssh +++ b/bin/hobo-ssh @@ -2,10 +2,8 @@ begin require File.expand_path('../../.bundle/environment', __FILE__) rescue LoadError - # Fallback on doing the resolve at runtime. + # Fallback on rubygems require "rubygems" - require "bundler" - Bundler.setup end require 'git-style-binary/command' diff --git a/bin/hobo-suspend b/bin/hobo-suspend index 5e7311267..85b79f20f 100755 --- a/bin/hobo-suspend +++ b/bin/hobo-suspend @@ -2,10 +2,8 @@ begin require File.expand_path('../../.bundle/environment', __FILE__) rescue LoadError - # Fallback on doing the resolve at runtime. + # Fallback on rubygems require "rubygems" - require "bundler" - Bundler.setup end require 'git-style-binary/command' diff --git a/bin/hobo-up b/bin/hobo-up index 6db9865d5..9b581a516 100755 --- a/bin/hobo-up +++ b/bin/hobo-up @@ -2,10 +2,8 @@ begin require File.expand_path('../../.bundle/environment', __FILE__) rescue LoadError - # Fallback on doing the resolve at runtime. + # Fallback on rubygems require "rubygems" - require "bundler" - Bundler.setup end require 'git-style-binary/command'