Skip to content

Windows JRuby - recent failure #339

@MSP-Greg

Description

@MSP-Greg

Recent CI using Windows and both jruby and jruby-head are failing.

Running bundle env in my fork shows

Errno::EACCES: Permission denied - NUL
            sysopen at org/jruby/RubyIO.java:[12](https://github.com/MSP-Greg/setup-ruby/runs/6454940480?check_suite_focus=true#step:7:12)27
         initialize at org/jruby/RubyFile.java:362
                new at org/jruby/RubyClass.java:909
               open at org/jruby/RubyIO.java:1[14](https://github.com/MSP-Greg/setup-ruby/runs/6454940480?check_suite_focus=true#step:7:14)6
             output at D:/jruby-9.3.4.0/lib/ruby/stdlib/rubygems/resolver.rb:176

The Ruby code line (lib/ruby/stdlib/rubygems/resolver.rb:176) is:

@output ||= debug? ? $stdout : File.open(IO::NULL, 'w')

@headius any ideas? Of course, running bundle env locally works fine...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions