-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGemfile
36 lines (32 loc) · 1.15 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
source "https://rubygems.org"
gemspec
if ENV['delayed_job']
if ENV['delayed_job'] == 'master'
gem 'delayed_job', :git => 'git://github.com/collectiveidea/delayed_job.git'
gem 'delayed_job_active_record', :require => nil
else
gem 'delayed_job', version = ENV['delayed_job']
unless version =~ /~?\s?2\.\d/ # delayed_job_active_record only for DJ >= 3.0
gem 'delayed_job_active_record', :require => nil
end
if version =~ /~?\s?4\.[1]/ # add_dependency "delayed_job", ">= 4.1"
gem 'delayed_cron_job', :require => nil
end
end
else
gem 'delayed_job'
gem 'delayed_job_active_record', :require => nil
gem 'delayed_cron_job', :require => nil
end
if ENV['activerecord']
gem 'activerecord', version = ENV['activerecord'], :require => nil
if version =~ /~?\s?[34]\.[012]/
gem 'activerecord-jdbc-adapter', '~> 1.3.20', :require => nil, :platform => :jruby
else
gem 'activerecord-jdbc-adapter', :require => nil, :platform => :jruby
end
else
gem 'activerecord', :require => nil # for tests
gem 'activerecord-jdbc-adapter', :require => nil, :platform => :jruby
end
gem 'jdbc-sqlite3', '~> 3.20.1', :platform => :jruby