We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba8a2f3 commit 02db438Copy full SHA for 02db438
1 file changed
lib/solidus_dev_support/templates/extension/Gemfile.tt
@@ -7,8 +7,13 @@ branch = ENV.fetch('SOLIDUS_BRANCH', 'main')
7
gem 'solidus', github: 'solidusio/solidus', branch: branch
8
9
# The solidus_frontend gem has been pulled out since v3.2
10
-gem 'solidus_frontend', github: 'solidusio/solidus_frontend' if branch == 'main'
11
-gem 'solidus_frontend' if branch >= 'v3.2' # rubocop:disable Bundler/DuplicatedGem
+if branch >= 'v3.2'
+ gem 'solidus_frontend'
12
+elsif branch == 'main'
13
+ gem 'solidus_frontend', github: 'solidusio/solidus_frontend'
14
+else
15
+ gem 'solidus_frontend', github: 'solidusio/solidus', branch: branch
16
+end
17
18
# Needed to help Bundler figure out how to resolve dependencies,
19
# otherwise it takes forever to resolve them.
0 commit comments