forked from activerecord-hackery/ransack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
45 lines (37 loc) · 1.02 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
source 'https://rubygems.org'
gemspec
gem 'rake'
rails = ENV['RAILS'] || 'master'
if rails[0,3] == '4.2' || rails == 'master'
gem 'arel', github: 'rails/arel', branch: 'master'
end
gem 'polyamorous', '~> 1.1'
gem 'pry'
# Provide timezone information on Windows
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
case rails
when /\// # A path
gem 'activesupport', path: "#{rails}/activesupport"
gem 'activerecord', path: "#{rails}/activerecord", require: false
gem 'actionpack', path: "#{rails}/actionpack"
when /^v/ # A tagged version
git 'git://github.com/rails/rails.git', :tag => rails do
gem 'activesupport'
gem 'activemodel'
gem 'activerecord', require: false
gem 'actionpack'
end
else
git 'git://github.com/rails/rails.git', :branch => rails do
gem 'activesupport'
gem 'activemodel'
gem 'activerecord', require: false
gem 'actionpack'
end
if rails == '3-0-stable'
gem 'mysql2', '< 0.3'
end
end
if ENV['DB'] =~ /mongodb/
gem 'mongoid', '~> 4.0.0', require: false
end