Skip to content

Commit

Permalink
added bundle exec to run
Browse files Browse the repository at this point in the history
  • Loading branch information
naarok committed Mar 27, 2023
1 parent dbdb84f commit 8486d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/library_version_analysis/online.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def check_for(regex, line)
def run_libyear(param)
# there is a bug in libyear (which I'm proposing a fix for) that makes -all fail, so
# we need to run --libyar and --releases separately
cmd = "libyear-bundler #{param}"
cmd = "bundle exec libyear-bundler #{param}"
results, captured_err, status = Open3.capture3(cmd)

if status.exitstatus != 0
Expand Down

0 comments on commit 8486d16

Please sign in to comment.