forked from railsadminteam/rails_admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
74 lines (65 loc) · 1.78 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
source 'https://rubygems.org'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
group :active_record do
platforms :jruby do
case ENV['CI_DB_ADAPTER']
when 'mysql'
gem 'activerecord-jdbcmysql-adapter', '~> 1.2'
gem 'jdbc-mysql', '~> 5.1'
when 'postgresql'
gem 'activerecord-jdbcpostgresql-adapter', '~> 1.2'
gem 'jdbc-postgres', '~> 9.0'
else
gem 'activerecord-jdbcsqlite3-adapter', '~> 1.2'
gem 'jdbc-sqlite3', '~> 3.6'
end
end
platforms :ruby, :mswin, :mingw do
case ENV['CI_DB_ADAPTER']
when 'mysql'
gem 'mysql', '~> 2.8'
when 'postgresql'
gem 'pg', '~> 0.13'
else
gem 'sqlite3', '~> 1.3'
end
end
gem 'carrierwave'
end
group :mongoid do
gem 'bson_ext', :platforms => [:ruby, :mswin, :mingw]
case ENV['CI_ORM_VERSION']
when 'head'
gem 'mongoid', :git => 'git://github.com/mongoid/mongoid.git'
# For now, carrierwave-mongoid's mongoid dependency is restricted to '~> 2.1'
gem 'carrierwave-mongoid', :require => 'carrierwave/mongoid', :git => 'git://github.com/tanordheim/carrierwave-mongoid.git', :branch => 'mongoid_3_0'
else
gem 'mongoid'
gem 'carrierwave-mongoid', :require => 'carrierwave/mongoid'
end
gem 'mongoid-paperclip', :require => 'mongoid_paperclip'
end
group :debug do
platform :mri_18 do
gem 'ruby-debug'
gem 'linecache'
end
platform :mri_19 do
gem 'ruby-debug19'
gem 'simplecov', :require => false
end
platform :jruby do
gem 'ruby-debug'
end
end
platforms :jruby, :mingw_18, :ruby_18 do
gem 'fastercsv', '~> 1.5'
end
group :development, :test do
gem 'cancan'
gem 'devise'
gem 'paperclip', '~> 2.7'
end
gemspec