generated from actions/javascript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 330
Closed
Description
Ensure the following before filing this issue
-
I verified it reproduces with the latest version with
- uses: ruby/setup-ruby@v1
(see Versioning policy) -
I tried to reproduce the issue locally by following the workflow steps (including all commands done by
ruby/setup-ruby
, except forDownloading Ruby
&Extracting Ruby
),
and it did not reproduce locally (if it does reproduce locally, it's not a ruby/setup-ruby issue)
Are you running on a GitHub-hosted runner or a self-hosted runner?
self-hosted runner
Link to the failed workflow job (must be a public workflow job, so the necessary information is available)
Will copy in step that failed
Any other notes?
For our self-hosted runners, #783 is failing as it is not finding (most likely does not have permission to run) <- clearly wrong as I did not read the error message carefully enough - it was a null lockfile.cat
Can this feature be made optional?
The action was configured as:
- name: Set up Ruby 2.7
uses: ruby/setup-ruby@v1
with:
# Not needed with a .ruby-version file
ruby-version: 2.7.6
# The version of RubyGems to use. Either 'default' (the default), 'latest', or a version number (e.g., 3.3.5).
rubygems: 3.2.3
# runs 'bundle install' and caches installed gems automatically
bundler-cache: true
Output:
Run ruby/setup-ruby@v1
with:
ruby-version: 2.7.6
rubygems: 3.2.3
bundler-cache: true
env:
pythonLocation: /opt/hostedtoolcache/Python/3.11.13/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.13/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.13/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.13/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.13/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.13/x64/lib
Modifying PATH
Entries added to PATH to use selected Ruby:
/opt/hostedtoolcache/Ruby/2.7.6/x64/bin
Downloading Ruby
https://github.com/ruby/ruby-builder/releases/download/toolcache/ruby-2.7.6-ubuntu-22.04.tar.gz
Took 0.27 seconds
Extracting Ruby
/usr/bin/tar -xz -C /opt/hostedtoolcache/Ruby/2.7.6 -f /runner/_work/_temp/940ed2c9-9f8a-475b-86d0-d011680d66bb
Took 0.32 seconds
Print Ruby version
/opt/hostedtoolcache/Ruby/2.7.6/x64/bin/ruby --version
ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]
Took 0.01 seconds
Updating RubyGems
/opt/hostedtoolcache/Ruby/2.7.6/x64/bin/gem --version
3.1.6
Default RubyGems version is 3.1.6
Updating RubyGems to 3.2.3
/opt/hostedtoolcache/Ruby/2.7.6/x64/bin/gem update --system 3.2.3
Updating rubygems-update
Successfully installed rubygems-update-3.2.3
Installing RubyGems 3.2.3
Successfully built RubyGem
Name: bundler
Version: 2.2.3
File: bundler-2.2.3.gem
Bundler 2.2.3 installed
RubyGems 3.2.3 installed
Regenerating binstubs
Regenerating plugins
=== 3.2.3 / 2020-12-22
* Fix -I require priority. Pull request #3124 by David Rodríguez.
* Fix `ruby setup.rb` for new plugins layout. Pull request #3144 by David
Rodríguez.
Deprecations:
* Set deprecation warning on query command. Pull request #2967 by Luis
Sagastume.
Breaking changes:
* Remove ruby 1.8 leftovers. Pull request #3442 by David Rodríguez.
* Minitest cleanup. Pull request #3445 by David Rodríguez.
* Remove `builder` gem requirement for `gem regenerate_index`. Pull
request #3552 by David Rodríguez.
* Remove modelines for consistency. Pull request #3714 by David Rodríguez.
* Stop using deprecated OpenSSL::Digest constants. Pull request #3763 by
Bart de Water.
* Remove Gem module deprecated methods. Pull request #3101 by Luis
Sagastume.
* Remove ubygems.rb. Pull request #3102 by Luis Sagastume.
* Remove Gem::Commands::QueryCommand. Pull request #3104 by Luis
Sagastume.
* Remove dependency installer deprecated methods. Pull request #3106 by
Luis Sagastume.
* Remove Gem::UserInteraction#debug method. Pull request #3107 by Luis
Sagastume.
* Remove options from Gem::GemRunner.new. Pull request #3110 by Luis
Sagastume.
* Remove deprecated Gem::RemoteFetcher#fetch_size. Pull request #3111 by
Luis Sagastume.
* Remove source_exception from Gem::Exception. Pull request #3112 by Luis
Sagastume.
* Requiring rubygems/source_specific_file is deprecated, remove it. Pull
request #3114 by Luis Sagastume.
------------------------------------------------------------------------------
RubyGems installed the following executables:
/opt/hostedtoolcache/Ruby/2.7.6/x64/bin/gem
/opt/hostedtoolcache/Ruby/2.7.6/x64/bin/bundle
RubyGems system software updated
Took 14.68 seconds
Installing Bundler
Using the Bundler installed by updating RubyGems
Took 0.00 seconds
> bundle install
Could not determine gemfile path, skipping "bundle install" and caching
Took 0.00 seconds
Print lockfile
/usr/bin/cat null
/usr/bin/cat: null: No such file or directory
Error: The process '/usr/bin/cat' failed with exit code 1
Metadata
Metadata
Assignees
Labels
No labels