ruby-nix icon indicating copy to clipboard operation
ruby-nix copied to clipboard

Ignore $out/bin/*.lock files during buildPhase makeWrapper

Open rtlong opened this issue 1 year ago • 3 comments

Since Ruby 3.3.5, the bin/ dir contains a non-executable *.lock file per executable -- unclear if this is intentional, but it means makeWrapper fails the build when those files are encountered.

rtlong avatar Oct 10 '24 17:10 rtlong

Running a tight schedule lately, sorry for the delay. I will try replicating this on 3.3.5

inscapist avatar Oct 15 '24 02:10 inscapist

This is happening for me as well and I've avoided upgrading to 3.3.5 till things can get ironed out.

jonknapp avatar Nov 01 '24 16:11 jonknapp

Looks like this was a problem with rubygems that has been corrected but will not land until Ruby v3.3.6. This PR could work around the issue, but I wonder if we could also bring in a more recent version of rubygems and/or bundler to help out.

jonknapp avatar Nov 01 '24 17:11 jonknapp