Skip to content

Commit

Permalink
Merge pull request #4697 from nebulab/elia/3-2-inline-env-fix
Browse files Browse the repository at this point in the history
[3.2 hotfix] Fix `nil` bundle_path while installing solidus_frontend
  • Loading branch information
waiting-for-dev authored Nov 3, 2022
2 parents 04440bc + bd271e9 commit 6f761a1
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ def call(frontend)

private

def bundle_command(command, env = {})
def bundle_command(command)
@generator_context.say_status :run, "bundle #{command}"
bundle_path = Gem.bin_path("bundler", "bundle")

BundlerContext.bundle_cleanly do
system(
Gem.ruby,
Gem.bin_path("bundler", "bundle"),
bundle_path,
*command.shellsplit,
)
end
Expand Down

0 comments on commit 6f761a1

Please sign in to comment.