You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2018. It is now read-only.
Using RUBY_PLATFORM under JRuby always returns java therefore
this should never be used to detect the OS under JRuby.
This causes problems under Windows and JRuby because subexec detects JRuby successfully so it calls exec. However, exec then does if !(RUBY_PLATFORM =~ /win32|mswin|mingw/).nil? which is totally pointless under JRuby since RUBY_PLATFORM will always return java so it will always execute self.output = LANG=#{lang} && export $LANG && #{command} 2>&1`` regardless of the underlying OS. Executing this on Windows is going to fail instantly because it does not understand LANG=. @Gissues:{"order":40,"status":"backlog"}
The text was updated successfully, but these errors were encountered:
was able to help at least with v. 0.2.2 [unfortunately I couldn't seem to quite figure out how to convince bundler to use the right version of rspec, so I know that did help me, I wasn't able to run the unit tests against it].
HTH.
-roger-
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using
RUBY_PLATFORM
under JRuby always returns java thereforethis should never be used to detect the OS under JRuby.
This causes problems under Windows and JRuby because subexec detects JRuby successfully so it calls exec. However, exec then does
if !(RUBY_PLATFORM =~ /win32|mswin|mingw/).nil?
which is totally pointless under JRuby sinceRUBY_PLATFORM
will always returnjava
so it will always executeself.output =
LANG=#{lang} && export $LANG && #{command} 2>&1`` regardless of the underlying OS. Executing this on Windows is going to fail instantly because it does not understandLANG=
.@Gissues:{"order":40,"status":"backlog"}
The text was updated successfully, but these errors were encountered: