2010-10-05 17:09:37 +00:00
|
|
|
source "http://rubygems.org"
|
2010-12-29 21:22:14 +00:00
|
|
|
|
|
|
|
case ENV["MODEL_ADAPTER"]
|
2010-12-29 23:01:49 +00:00
|
|
|
when nil, "active_record"
|
|
|
|
gem "activerecord", :require => "active_record"
|
|
|
|
when "data_mapper"
|
|
|
|
gem "dm-core", "~> 1.0.2"
|
2010-12-29 21:22:14 +00:00
|
|
|
when "mongoid"
|
|
|
|
gem "bson_ext", "~> 1.1"
|
|
|
|
gem "mongoid", "~> 2.0.0.beta.19"
|
|
|
|
end
|
2010-12-29 23:01:49 +00:00
|
|
|
|
|
|
|
gemspec
|