Skip to content

Commit c2d8373

Browse files
Fix CI on Solidus v3.1 by explicitly fetching solidus_frontend from GH
This is the same fix that was used in 9f1f60b. Otherwise, bundler will try to fetch the gem from RubyGems and complain because not finding `v3.1.10.dev` version. Closes #239
1 parent 3fed000 commit c2d8373

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

Gemfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@ gem 'solidus', github: 'solidusio/solidus', branch: branch
88
gem 'solidus_backend', github: 'solidusio/solidus', branch: branch
99

1010
# The solidus_frontend gem has been pulled out since v3.2
11-
gem 'solidus_frontend', github: 'solidusio/solidus_frontend' if branch == 'master'
12-
gem 'solidus_frontend' if branch >= 'v3.2' # rubocop:disable Bundler/DuplicatedGem
11+
if branch >= 'v3.2'
12+
gem 'solidus_frontend'
13+
elsif branch == 'master'
14+
gem 'solidus_frontend', github: 'solidusio/solidus_frontend'
15+
else
16+
gem 'solidus_frontend', github: 'solidusio/solidus', branch: branch
17+
end
1318

1419
case ENV.fetch('DB', nil)
1520
when 'mysql'

0 commit comments

Comments
 (0)