-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathGemfile
More file actions
45 lines (35 loc) · 1.24 KB
/
Gemfile
File metadata and controls
45 lines (35 loc) · 1.24 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
39
40
41
42
43
44
45
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
branch = ENV.fetch("SOLIDUS_BRANCH", "main")
gem "solidus", github: "solidusio/solidus", branch: branch
# The solidus_frontend gem has been pulled out since v3.2
if branch >= "v3.2"
gem "solidus_frontend"
elsif branch == "main"
gem "solidus_frontend", github: "solidusio/solidus_frontend"
else
gem "solidus_frontend", github: "solidusio/solidus", branch: branch
end
# 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", ">0.a"
# Provides basic authentication functionality for testing parts of your engine
# gem 'solidus_auth_devise'
gem "friendly_id-globalize", github: "norman/friendly_id-globalize", branch: "master"
case ENV["DB"]
when "mysql"
gem "mysql2"
when "postgresql"
gem "pg"
else
gem "sqlite3"
end
group :lint do
gem "standard", "~> 1.50", require: false
end
gemspec
# Use a local Gemfile to include development dependencies that might not be
# relevant for the project or for other contributors, e.g.: `gem 'pry-debug'`.
eval_gemfile "Gemfile-local" if File.exist? "Gemfile-local"