adds bundler support

Conflicts:

	.gitignore
	spec/spec_helper.rb
This commit is contained in:
Ben Mabey 2010-05-30 21:18:57 -06:00
parent bf55f75431
commit ed47f08c6a
4 changed files with 27 additions and 3 deletions

1
.gitignore vendored
View file

@ -6,4 +6,3 @@ pkg
bundled_gems/ bundled_gems/
examples/db/*.db examples/db/*.db
examples/config/database.yml examples/config/database.yml
Gemfile

16
Gemfile Normal file
View file

@ -0,0 +1,16 @@
source "http://rubygems.org"
group :development do
gem "mysql"
gem "rspec", "1.3.0"
gem "cucumber"
gem "jeweler"
gem "mongo"
gem "mongo_ext"
gem "mongo_mapper"
gem "datamapper"
gem "couch_potato"
gem "activerecord"
gem "rake"
gem "ruby-debug"
end

View file

@ -1,3 +1,7 @@
require "rubygems"
require "bundler"
Bundler.setup
require 'rake' require 'rake'
begin begin

View file

@ -1,10 +1,15 @@
require 'rubygems' require "rubygems"
require "bundler"
Bundler.setup
require 'spec' require 'spec'
#require 'active_record' #require 'active_record'
#require 'mongo_mapper' #require 'mongo_mapper'
$:.unshift(File.dirname(__FILE__) + '/../lib') $:.unshift(File.dirname(__FILE__) + '/../lib')
require 'database_cleaner' require 'database_cleaner'
Spec::Runner.configure do |config| Spec::Runner.configure do |config|
end end