Updated to bundler 0.9.3 gemfile format
This commit is contained in:
parent
424afdae67
commit
3b53bdc79e
17
Gemfile
17
Gemfile
|
@ -1,22 +1,15 @@
|
||||||
|
source :gemcutter
|
||||||
|
source "http://gems.github.com"
|
||||||
|
|
||||||
# Gems required for the lib to even run
|
# Gems required for the lib to even run
|
||||||
gem "virtualbox", ">= 0.4.3"
|
gem "virtualbox", ">= 0.4.3"
|
||||||
gem "net-ssh", ">= 2.0.19"
|
gem "net-ssh", ">= 2.0.19"
|
||||||
|
|
||||||
source "http://gems.github.com"
|
|
||||||
gem "jashmenn-git-style-binaries", ">= 0.1.10"
|
gem "jashmenn-git-style-binaries", ">= 0.1.10"
|
||||||
|
|
||||||
# Gems required for testing only. To install run
|
# Gems required for testing only. To install run
|
||||||
# gem bundle test
|
# gem bundle test
|
||||||
only :test do
|
group :test do
|
||||||
gem "contest", ">= 0.1.2"
|
gem "contest", ">= 0.1.2"
|
||||||
gem "mocha"
|
gem "mocha"
|
||||||
gem "ruby-debug", ">= 0.10.3" if RUBY_VERSION < '1.9'
|
gem "ruby-debug", ">= 0.10.3" if RUBY_VERSION < '1.9'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Since hobo uses bin/, change the bin_path to something
|
|
||||||
# else...
|
|
||||||
bin_path "gembin"
|
|
||||||
|
|
||||||
# Makes sure that our code doesn't request gems outside
|
|
||||||
# of our dependency list.
|
|
||||||
disable_system_gems
|
|
9
bin/hobo
9
bin/hobo
|
@ -1,12 +1,17 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
begin
|
begin
|
||||||
require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
|
require File.expand_path('../.bundle/environment', __FILE__)
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
|
# Fallback on doing the resolve at runtime.
|
||||||
|
require "rubygems"
|
||||||
|
require "bundler"
|
||||||
|
Bundler.setup
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'git-style-binary/command'
|
require 'git-style-binary/command'
|
||||||
|
|
||||||
GitStyleBinary.primary do
|
GitStyleBinary.primary do
|
||||||
version "Somewhere between 0 and 0.1"
|
version "Somewhere between 0 and 0.1"
|
||||||
|
|
||||||
run { educate }
|
run { educate }
|
||||||
end
|
end
|
|
@ -1,7 +1,11 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
begin
|
begin
|
||||||
require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
|
require File.expand_path('../.bundle/environment', __FILE__)
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
|
# Fallback on doing the resolve at runtime.
|
||||||
|
require "rubygems"
|
||||||
|
require "bundler"
|
||||||
|
Bundler.setup
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'git-style-binary/command'
|
require 'git-style-binary/command'
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
begin
|
begin
|
||||||
require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
|
require File.expand_path('../.bundle/environment', __FILE__)
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
|
# Fallback on doing the resolve at runtime.
|
||||||
|
require "rubygems"
|
||||||
|
require "bundler"
|
||||||
|
Bundler.setup
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'git-style-binary/command'
|
require 'git-style-binary/command'
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
begin
|
begin
|
||||||
require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
|
require File.expand_path('../.bundle/environment', __FILE__)
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
|
# Fallback on doing the resolve at runtime.
|
||||||
|
require "rubygems"
|
||||||
|
require "bundler"
|
||||||
|
Bundler.setup
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'git-style-binary/command'
|
require 'git-style-binary/command'
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
begin
|
begin
|
||||||
require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
|
require File.expand_path('../.bundle/environment', __FILE__)
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
|
# Fallback on doing the resolve at runtime.
|
||||||
|
require "rubygems"
|
||||||
|
require "bundler"
|
||||||
|
Bundler.setup
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'git-style-binary/command'
|
require 'git-style-binary/command'
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
begin
|
begin
|
||||||
require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
|
require File.expand_path('../.bundle/environment', __FILE__)
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
|
# Fallback on doing the resolve at runtime.
|
||||||
|
require "rubygems"
|
||||||
|
require "bundler"
|
||||||
|
Bundler.setup
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'git-style-binary/command'
|
require 'git-style-binary/command'
|
||||||
|
|
|
@ -1,16 +1,10 @@
|
||||||
begin
|
begin
|
||||||
require File.join(File.dirname(__FILE__), '..', 'vendor', 'gems', 'environment')
|
require File.expand_path('../.bundle/environment', __FILE__)
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
puts <<-ENVERR
|
# Fallback on doing the resolve at runtime.
|
||||||
==================================================
|
require "rubygems"
|
||||||
ERROR: Gem environment file not found!
|
require "bundler"
|
||||||
|
Bundler.setup
|
||||||
Hobo uses bundler to handle gem dependencies. To setup the
|
|
||||||
test environment, please run `gem bundle test` If you don't
|
|
||||||
have bundler, you can install that with `gem install bundler`
|
|
||||||
==================================================
|
|
||||||
ENVERR
|
|
||||||
exit
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# This silences logger output
|
# This silences logger output
|
||||||
|
|
Loading…
Reference in New Issue