From f170d5ada2878fe2bfeee4f9d833dd7cb621f0d6 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Tue, 26 Oct 2010 09:53:48 -0400 Subject: [PATCH] add gemfile and such --- Gemfile | 7 +++++++ autotest/discover.rb | 1 + lib/apache/config.rb | 5 ++++- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 Gemfile create mode 100644 autotest/discover.rb diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..dd9563d --- /dev/null +++ b/Gemfile @@ -0,0 +1,7 @@ +gem 'rainbow' + +group :test do + gem 'rspec' + gem 'autotest' + gem 'mocha' +end diff --git a/autotest/discover.rb b/autotest/discover.rb new file mode 100644 index 0000000..cd6892c --- /dev/null +++ b/autotest/discover.rb @@ -0,0 +1 @@ +Autotest.add_discovery { "rspec2" } diff --git a/lib/apache/config.rb b/lib/apache/config.rb index 136f0fb..8b406ce 100644 --- a/lib/apache/config.rb +++ b/lib/apache/config.rb @@ -1,6 +1,9 @@ require 'rubygems' +require 'bundler' + +Bundler.require(:default) + require 'fileutils' -require 'rainbow' Dir[File.join(File.dirname(__FILE__), '*.rb')].each { |f| require f }