Skip to content

Commit

Permalink
Use Bundler CLI directly and send errors to telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock committed Oct 29, 2024
1 parent bbc0a44 commit 6dadd5b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/ruby_lsp/setup_bundler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -394,11 +394,7 @@ def base_bundle_command(env)
return bundle_binstub
end

if @bundler_version
env["BUNDLER_VERSION"] = @bundler_version.to_s
install_bundler_if_needed
return "bundle _#{@bundler_version}_"
end
return "bundle _#{@bundler_version}_" if @bundler_version

"bundle"
end
Expand Down

0 comments on commit 6dadd5b

Please sign in to comment.