alphagov / govuk-guix

Package, service and system definitions using GNU Guix for software and systems related to GOV.UK.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rubygems depends on `/usr/bin/env`

cbaines opened this issue · comments

Without /usr/bin/env existing, when rubygems installs gems, the shebang in the bin wrappers is invalid #! ruby.

As a workaround, when using GuixSD, adding /usr/bin/env can be done with this service.

(extra-special-file "/usr/bin/env"
                            (file-append coreutils "/bin/env"))

Ideally, using rubygems would be unnecessary, but as an intermediate step, it would be better if the shebangs were valid.