Skip to content

v1.50.0 Fails gem install (can't find the ruby) #104

@mrGrazy

Description

@mrGrazy

The most recent release seems to have broken the install of ruby.

The setup ruby action is failing with

/home/runner/_work/_tool/Ruby/2.6.3/x64/bin/gem install bundler -v ~> 1 --no-document
  Took   0.00 seconds
Error: There was an error when attempting to execute the process '/home/runner/_work/_tool/Ruby/2.6.3/x64/bin/gem'. This may indicate the process failed to start. Error: spawn /home/runner/_work/_tool/Ruby/2.6.3/x64/bin/gem ENOENT

When I try running that command again on the runners I see this error:

runner@runner-pool-pod-bp4zt:~$ /home/runner/_work/_tool/Ruby/2.6.3/x64/bin/gem install bundler -v ~> 1 --no-document
bash: /home/runner/_work/_tool/Ruby/2.6.3/x64/bin/gem: /opt/hostedtoolcache/Ruby/2.6.3/x64/bin/ruby: bad interpreter: No such file or directory

So it looks like the recent change to related to hostedtoolcache is affecting the paths to ruby, but I don't know if we're supposed to be doing something different.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions