-
-
Notifications
You must be signed in to change notification settings - Fork 314
/
Gemfile
67 lines (53 loc) · 1.78 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# frozen_string_literal: true
source "https://rubygems.org"
gemspec
rails_version = ENV.fetch("RAILS_VERSION", "7.2")
gem "rails", "~> #{rails_version}.0"
if ENV["DB"].nil? || ENV["DB"] == "sqlite"
gem "sqlite3", (rails_version == "7.0") ? "~> 1.7.0" : "~> 2.0.0"
end
if ENV["DB"] == "mysql" || ENV["DB"] == "mariadb"
gem "mysql2", "~> 0.5.1"
end
gem "pg", "~> 1.0" if ENV["DB"] == "postgresql"
gem "alchemy_i18n", github: "AlchemyCMS/alchemy_i18n", branch: "download-flatpickr-locales"
group :development, :test do
gem "execjs", "~> 2.9.1"
gem "rubocop", require: false
gem "standard", "~> 1.25", require: false
# Still need Sprockets for tests
gem "sprockets", "~> 4.2", ">= 4.2.1", require: false
if ENV["GITHUB_ACTIONS"]
gem "simplecov-cobertura", "~> 2.1"
# Necessary because GH Actions gem cache does not have this "Bundled with Ruby" gem installed
gem "rexml", "~> 3.2.4"
# https://github.com/hotwired/turbo-rails/issues/512
if rails_version == "7.1"
gem "actioncable", "~> #{rails_version}.0"
end
else
gem "launchy"
gem "annotate"
gem "bumpy"
gem "yard"
gem "redcarpet"
gem "debug"
gem "listen"
gem "localeapp", "~> 3.0", require: false
gem "dotenv", "~> 3.0"
gem "github_fast_changelog", require: false
gem "active_record_query_trace", require: false
gem "rack-mini-profiler", require: false
gem "brakeman", require: false
end
end
# Ruby 3.1 split out the net-smtp gem
# Necessary until https://github.com/mikel/mail/pull/1439
# got merged and released.
if Gem.ruby_version >= Gem::Version.new("3.1.0")
gem "net-smtp", "~> 0.4.0", require: false
end
gem "web-console", "~> 4.2", group: :development
gem "rails_live_reload", "~> 0.3.5"
gem "dartsass-rails", "~> 0.5.0"
gem "propshaft", "~> 1.0"