victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
victori has joined #jruby
victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
victori has joined #jruby
victori has quit [Client Quit]
victori has joined #jruby
sagax has joined #jruby
<headius[m]> enebo: hey what Rails are you using to verify Windows?
<headius[m]> we probably should bump it to one that tries to install this gem
<enebo[m]> Last Rails 5 before 6
<headius[m]> RG tweaked the extconf process launch to pass env vars and that is apparently not working in Windows process launching code
<enebo[m]> It occurs to me that .16 was last time I checked to see if sassc had been fixed
<headius[m]> so this is broken for all ext builds on Windows, but sassc is probably the most common one we'll see
<enebo[m]> but I did run sassc and install it for .17 but it was the one shipped for rails 5.2
<enebo[m]> that presumably is not a different install mechanism is it?
<headius[m]> sassc or the Ruby one?
<headius[m]> I don't see how any sassc ext build would work with this issue
<headius[m]> if it extconfs it is broken
<enebo[m]> oh I don't know...I just run rails and I was only running 5.2 because of the rails 6 sassc thing
<headius[m]> yeah prior to rails 6.0.1 they still used the ruby one
<enebo[m]> well up to this point rails 6 has not worked for windows for us so this just changed the error
<enebo[m]> so this is not a regression in that sense
<enebo[m]> I am happy to see they fixed windows overall though
<headius[m]> well that is fair
<enebo[m]> they fix it and our rg upgrade breaks it :)
<headius[m]> yup
<headius[m]> never upgrade anything
<enebo[m]> But one extconf is fixed we can figure out anything else and guarantee 6+ is good again on windows
<headius[m]> yeah this needs process launching help to accept env
<headius[m]> that is pretty much it
<enebo[m]> ack!
<headius[m]> I will try to come up with a minimal fix but Windows process launching continues to fall behind
<enebo[m]> so jnr-posix or poetntially avoidable
<enebo[m]> I am not sure if we are current with jnr-posix or not
<headius[m]> nothing in jnr-posix can help because we can't use posix_spawn on Windows
<headius[m]> the long term fix is to wire up Windows process launching with the appropriate win32 functions
<enebo[m]> There is just a lot of windows process launching code in jnr-posix and we do use that for something
<headius[m]> but it should be easy short term to get the env to propagate into JVM launcher
<enebo[m]> we determined that a few months ago I thought
<headius[m]> yeah I just mean that is a longer term thing to get wired in
<enebo[m]> ok
<headius[m]> but it could happen for 9.3 if we have time 😀
<enebo[m]> yeah
<headius[m]> the launching code there is not useful for general purpose subprocesses in its current form
<headius[m]> but it is a start
<enebo[m]> It was just a port of some ruby launching code
<enebo[m]> from quite a while ago
<headius[m]> ok
<enebo[m]> so it has some semblance to what MRI did at some point in history
<enebo[m]> such is life
<headius[m]> yeah
<headius[m]> unfortunately open3 is not a default gem so we can
<headius[m]> can't really work around this easily
<headius[m]> enebo: this is a larger issue than I thought
<headius[m]> it was previously using IO.popen which worked reasonably well... but it now switched to open3 which has poor support for Windows on JRuby, so it is not just a matter of fixing one spawn form, they are creating IO pipes and such that we can't propagate through JDK Process
<headius[m]> We have some partial patches in open3 for Windows but not these paths. I will try to add more there