-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathGemfile
More file actions
18 lines (15 loc) · 460 Bytes
/
Gemfile
File metadata and controls
18 lines (15 loc) · 460 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
source "https://rubygems.org"
gemspec
DEFAULT_RAILS_VERSION = '6.0.3.5'
ENV['RAILS_VERSION'] ||= DEFAULT_RAILS_VERSION
if ENV['RAILS_VERSION'] == '4.2.10'
gem 'mysql2', '~> 0.3.18'
else
gem "mysql2"
end
if ENV['RAILS_VERSION'] == 'master'
gem "activerecord", git: "https://github.com/rails/rails"
else
gem "rails", "~> #{ENV['RAILS_VERSION'] || DEFAULT_RAILS_VERSION}"
gem "activerecord", "~> #{ENV['RAILS_VERSION'] || DEFAULT_RAILS_VERSION}"
end