-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathGemfile
More file actions
38 lines (30 loc) · 1.12 KB
/
Gemfile
File metadata and controls
38 lines (30 loc) · 1.12 KB
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
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
branch = ENV.fetch("SOLIDUS_BRANCH", "v3.2")
gem "solidus", github: "solidusio/solidus", branch: branch
# Needed to help Bundler figure out how to resolve dependencies,
# otherwise it takes forever to resolve them.
# See https://github.com/bundler/bundler/issues/6677
gem "rails", "~> #{ENV.fetch('RAILS_VERSION', '7.0')}"
case ENV["DB"]
when "mysql"
gem "mysql2"
when "postgresql"
gem "pg"
else
gem "sqlite3", "~> 1.7"
end
gemspec
# Use a local Gemfile to include development dependencies that might not be
# relevant for the project or for other contributors, e.g. pry-byebug.
#
# We use `send` instead of calling `eval_gemfile` to work around an issue with
# how Dependabot parses projects: https://github.com/dependabot/dependabot-core/issues/1658.
send(:eval_gemfile, "Gemfile-local") if File.exist? "Gemfile-local"
group :test do
gem "shoulda-matchers", "~> 4.0"
gem "standardrb"
end
gem "concurrent-ruby", "< 1.3.5"
gem "solidus_frontend", github: "solidusio/solidus_frontend", branch: "v3.2"