forked from railsadminteam/rails_admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
47 lines (41 loc) · 1.21 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
source 'http://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 :development, :test do
gem 'rails', '~> 3.0.8'
platforms :jruby do
gem 'jruby-openssl', '~> 0.7'
case ENV['CI_DB_ADAPTER']
when 'mysql'
gem 'activerecord-jdbcmysql-adapter', '~> 1.1', :platform => :jruby
gem 'jdbc-mysql', '~> 5.1', :platform => :jruby
when 'postgresql'
gem 'activerecord-jdbcpostgresql-adapter', '~> 1.1', :platform => :jruby
gem 'jdbc-postgres', '~> 9.0', :platform => :jruby
else
gem 'activerecord-jdbcsqlite3-adapter', '~> 1.1', :platform => :jruby
gem 'jdbc-sqlite3', '~> 3.6', :platform => :jruby
end
end
platforms :ruby, :mswin, :mingw do
case ENV['CI_DB_ADAPTER']
when 'mysql'
gem 'mysql', '~> 2.8'
when 'postgresql'
gem 'pg', '~> 0.10'
else
gem 'sqlite3', '~> 1.3'
end
end
gem 'cancan' if ENV['AUTHORIZATION_ADAPTER'] == 'cancan'
gem 'factory_girl', '2.0.0.beta2'
gem 'generator_spec'
platform :mri_18 do
gem 'ruby-debug'
end
platform :mri_19 do
gem 'ruby-debug19'
end
end
gemspec