-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathGemfile
More file actions
30 lines (23 loc) · 728 Bytes
/
Gemfile
File metadata and controls
30 lines (23 loc) · 728 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
# 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_core', github: 'solidusio/solidus', branch: branch
case ENV['DB']
when 'mysql'
gem 'mysql2'
when 'postgresql'
gem 'pg'
else
gem 'sqlite3', '~> 1.4'
end
gemspec
# There is an issue with Sprockets 4 not accepting a custom path for
# the assets manifest, which doesn't play well with in-memory dummy
# apps such as the one we use in this gem.
# A fix was provided for sprockets-rails[1] but it was not accepted
# yet.
# [1]: rails/sprockets-rails#446
#
# Please do not remove this line until we have a solution.
gem 'sprockets', '~> 3'