forked from brendon/ranked-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGemfile
32 lines (25 loc) · 732 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
source "https://rubygems.org"
# Specify your gem's dependencies in ranked-model.gemspec
gemspec
ar_version = ENV["ACTIVERECORD_VERSION"] || "default"
ar_gem_version = case ar_version
when "master"
gem "activerecord", {github: "rails/rails"}
when "default"
# Allow the gemspec to specify
else
gem "activerecord", "~> #{ar_version}"
end
platforms :rbx do
gem 'rubysl', '~> 2.0'
gem 'rubinius-developer_tools'
end
# SQLite
gem "activerecord-jdbcsqlite3-adapter", ">= 1.3.0", platforms: :jruby
gem "sqlite3", platforms: :ruby
# Postgres
gem "activerecord-jdbcpostgresql-adapter", platforms: :jruby
gem "pg", platforms: :ruby
# MySQL
gem "activerecord-jdbcmysql-adapter", platforms: :jruby
gem "mysql", platforms: :ruby