-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Gemfile
35 lines (27 loc) · 940 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
35
# frozen_string_literal: true
source 'https://rubygems.org'
branch = ENV.fetch('SOLIDUS_BRANCH', 'main')
git "https://github.com/solidusio/solidus.git", branch: branch do
gem 'solidus_api'
gem 'solidus_core'
end
gem 'rails', ENV.fetch('RAILS_VERSION', nil)
# Temporarily locking sprockets to v3.x
# see https://github.com/solidusio/solidus/issues/3374
# and https://github.com/rails/sprockets-rails/issues/369
gem 'sprockets', '~> 3'
case ENV['DB']
when 'mysql'
gem 'mysql2'
when 'postgresql'
gem 'pg'
else
gem 'sqlite3'
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'