Skip to content

Commit 186847e

Browse files
committed
wip
1 parent 3c2ed94 commit 186847e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/ruby_lsp/ruby_lsp_rails/runner_client.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ def initialize
4848
# If we can't set the session ID, continue
4949
end
5050

51-
stdin, stdout, stderr, wait_thread = Bundler.with_unbundled_env do
51+
# stdin, stdout, stderr, wait_thread = Bundler.with_unbundled_env do
52+
$stderr.puts("outside BUNDLE_GEMFILE=#{ENV["BUNDLE_GEMFILE"]}")
53+
54+
stdin, stdout, stderr, wait_thread = Bundler.with_original_env do
55+
$stderr.puts("inside BUNDLE_GEMFILE=#{ENV["BUNDLE_GEMFILE"]}")
5256
Open3.popen3(
5357
"bin/rails",
5458
"runner",

0 commit comments

Comments
 (0)