-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathGemfile
37 lines (30 loc) · 842 Bytes
/
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
source :rubygems
gemspec
# for testing against different major releases of ActiveRecord
if ENV['ACTIVERECORD_VERSION']
version = case ENV['ACTIVERECORD_VERSION']
when /2.3-old$/ then '= 2.3.8'
when /2.3$/ then '~> 2.3.9'
when /3.0$/ then '~> 3.0.10'
when /3.1$/ then '~> 3.1.0'
when /3.2$/ then '~> 3.2.0'
else raise "Unsupported ActiveRecord version #{ENV['ACTIVERECORD_VERSION']}"
end
gem 'activerecord', version
end
group :postgresql do
platforms :ruby_18, :ruby_19 do
gem 'pg', '~> 0.11.0'
end
platforms :jruby do
gem 'activerecord-jdbcpostgresql-adapter'
end
end
if ENV['SQT_ORACLE']
group :oracle do
gem 'activerecord-oracle_enhanced-adapter'
platforms :ruby_18, :ruby_19 do
gem 'ruby-oci8'
end
end
end