New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bundle install error with JRuby 9.4.7.0 #7651
Comments
Hei @n-rodriguez! It seems for some reason your git is printing |
That's what I thought.
Yes |
If you install |
nope nicolas@MacBook-Pro-de-Nicolas:~/PROJECTS/CONCERTO/concerto$ which git
/Users/nicolas/git-2.45.0/git nicolas@MacBook-Pro-de-Nicolas:~/PROJECTS/CONCERTO/concerto$ git --version
git version 2.45.0 nicolas@MacBook-Pro-de-Nicolas:~/PROJECTS/CONCERTO/concerto$ bundle install
Fetching https://github.com/jbox-web/release_manager.git
git version 2.45.0
git version 2.45.0
--- ERROR REPORT TEMPLATE -------------------------------------------------------
|
Interesting, I'm not able to reproduce myself 😞 |
I can't reproduce it on Linux neither :/ |
Oh, you're on MacOS! Let me try reproduce this on MacOS then. Will get back in a few days 👍. |
An approach that will probably work to fix this would be to change |
yes, but this is weird : nicolas@MacBook-Pro-de-Nicolas:~/PROJECTS/CONCERTO/toto$ git version 2> error.txt 1> output.txt
nicolas@MacBook-Pro-de-Nicolas:~/PROJECTS/CONCERTO/toto$ cat error.txt
nicolas@MacBook-Pro-de-Nicolas:~/PROJECTS/CONCERTO/toto$ cat output.txt
git version 2.45.0 |
I think it's a bug with JRuby : #!/usr/bin/env ruby
require "open3"
def capture3_args_for(cmd, dir)
["git", *cmd]
end
cmd = 'version'
dir = nil
puts *capture3_args_for(cmd, dir).inspect
out, err, status = Open3.capture3(*capture3_args_for(cmd, dir))
puts "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
puts "out.inspect: #{out.inspect}"
puts "err.inspect: #{err.inspect}"
puts "status.inspect: #{status.inspect}"
puts "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" With Ruby 3.3.1 : nicolas@MacBook-Pro-de-Nicolas:~/PROJECTS/CONCERTO/concerto$ ./toto.rb
["git", "version"]
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
out.inspect: "git version 2.45.0\n"
err.inspect: ""
status.inspect: #<Process::Status: pid 13555 exit 0>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ With JRuby 9.4.7.0 : nicolas@MacBook-Pro-de-Nicolas:~/PROJECTS/CONCERTO/concerto$ ./toto.rb
["git", "version"]
git version 2.45.0
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
out.inspect: ""
err.inspect: ""
status.inspect: #<Process::Status: pid 13749 exit 0>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
I've opened an issue : jruby/jruby#8237 |
Thanks for investigating. Weirdly my JRuby works just fine... 🤔 |
I'm closing this issue in favor of the JRuby ticket that you opened. It doesn't seem like a JRuby bug, but a Java one, but at least it's closer to the culprit! |
Hi there! I got this error when running
bundle install
with JRuby 9.4.7.0 :Environment
Thank you!
The text was updated successfully, but these errors were encountered: