forked from ryanb/cancan
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathGemfile
More file actions
23 lines (21 loc) · 672 Bytes
/
Copy pathGemfile
File metadata and controls
23 lines (21 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
source "https://rubygems.org"
case ENV["MODEL_ADAPTER"]
when nil, "active_record"
# Sqlite for CRuby, Rubinius, including Windows and RubyInstaller
gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
# Sqlite for JRuby
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
gem "activerecord", '~> 3.0.9', :require => "active_record"
gem "with_model", "~> 0.2.5"
gem "meta_where"
when "data_mapper"
gem "dm-core", "~> 1.0.2"
gem "dm-sqlite-adapter", "~> 1.0.2"
gem "dm-migrations", "~> 1.0.2"
when "mongoid"
gem "bson_ext", "~> 1.1"
gem "mongoid", "~> 2.0.0.beta.20"
else
raise "Unknown model adapter: #{ENV["MODEL_ADAPTER"]}"
end
gemspec