forked from solidusio/solidus_auth_devise
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGemfile
More file actions
32 lines (25 loc) · 690 Bytes
/
Gemfile
File metadata and controls
32 lines (25 loc) · 690 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
31
32
# frozen_string_literal: true
source "https://rubygems.org"
branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
gem "solidus", github: "solidusio/solidus", branch: branch
# Needed to help Bundler figure out how to resolve dependencies,
# otherwise it takes forever to resolve them
if branch == 'master' || Gem::Version.new(branch[1..-1]) >= Gem::Version.new('2.10.0')
gem 'rails', '~> 6.0'
else
gem 'rails', '~> 5.0'
end
group :test do
gem 'rails-controller-testing', '~> 1.0'
gem 'factory_bot', '> 4.10.0'
end
case ENV['DB']
when 'mysql'
gem 'mysql2', '~> 0.4.10'
when 'postgres'
gem 'pg', '~> 0.21'
end
group :development, :test do
gem 'pry-rails', '~> 0.3.9'
end
gemspec