-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathGemfile
More file actions
39 lines (30 loc) · 795 Bytes
/
Gemfile
File metadata and controls
39 lines (30 loc) · 795 Bytes
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
# frozen_string_literal: true
source 'https://rubygems.org'
gemspec
gem 'rake'
# Gems that will be removed from default gems in Ruby 3.5.0
gem 'benchmark'
gem 'logger'
gem 'ostruct'
activerecord_version = ENV.fetch('ACTIVERECORD_VERSION', '8.1')
if activerecord_version == 'edge'
gem 'activerecord', github: 'rails/rails', branch: 'main'
gem 'railties', github: 'rails/rails', branch: 'main'
else
gem 'activerecord', "~> #{activerecord_version}.0"
gem 'railties'
end
gem 'dotenv'
platforms :ruby do
gem 'mysql2'
gem 'pg'
gem 'sqlite3'
gem 'trilogy'
end
platforms :jruby do
# JRuby JDBC adapters support Rails 7.2+
if activerecord_version >= '7.2'
gem 'activerecord-jdbcmysql-adapter', '~> 72.0'
gem 'activerecord-jdbcpostgresql-adapter', '~> 72.0'
end
end