-
Notifications
You must be signed in to change notification settings - Fork 44
/
Gemfile
34 lines (27 loc) · 858 Bytes
/
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
# frozen_string_literal: true
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
solidus_branch = ENV.fetch('SOLIDUS_BRANCH', 'main')
gem 'solidus', github: 'solidusio/solidus', branch: solidus_branch
gem 'solidus_auth_devise'
# The solidus_frontend gem has been pulled out since v3.2
if solidus_branch >= 'v3.2'
gem 'solidus_frontend'
elsif solidus_branch == 'main'
gem 'solidus_frontend', github: 'solidusio/solidus_frontend'
else
gem 'solidus_frontend', github: 'solidusio/solidus', branch: solidus_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'
case ENV['DB']
when 'postgresql'
gem 'pg'
when 'mysql'
gem 'mysql2'
else
gem 'sqlite3'
end
gemspec