setup-ruby
setup-ruby copied to clipboard
Set up your GitHub Actions workflow with a specific version of Ruby
Hi, My application is using ruby version `2.6.5`. It was working in github actions before but the version `2.6.5` can't be found now. In the readme of this repository, it...
Ruby 2.6.6 was a security release, and came out on 3/31/20 (https://www.ruby-lang.org/en/news/2020/03/31/ruby-2-6-6-released/). It's not yet available in `setup-ruby` so things like CI jobs can't run Ruby 2.6.6 yet and will...
```shell Run actions/setup-ruby@v1 11 sudo ln -sf /Users/runner/hostedtoolcache/Ruby/2.7.0/x64/bin/ruby /usr/bin/ruby 12 ln: /usr/bin/ruby: Operation not permitted 13 (node:1108) UnhandledPromiseRejectionWarning: Error: The process 'sudo' failed with exit code 1 14 at ExecState._setResult...
The default Postgres image has changed and without any `env` variables the healthcheck will never pass. You need to set `POSTGRES_USER` and `POSTGRES_DB`, and may choose to set either `POSTGRES_PASSWORD`...
When a ruby version isn't found in the image cache, all you get is `##[error]Version 2.6.5 not found`. At least in the case of a patch version, it would be...
Many ruby projects include a `.ruby-version` file in the root directory, containing the version of Ruby needed. Tools such as `rvm`, `rbenv` and `chruby` all recognise and use this file....
👉 [Rendered](https://github.com/actions/setup-ruby/blob/prebuilt-adr/adrs/0049-prebuilt-rubies-at-runtime.md) 👈
This PR fixes the anchor in the link to the Ruby Gem cache example link.
@bryanmacfarlane With https://github.com/actions/setup-ruby/issues/42 closed, I thought I'd continue here. If one views this repo's purpose as accessing pre-built Rubies located in 'hostedtoolcache', then it is functioning as expected. For quite...
We should add ruby problem matchers here for nicer output. I can help, you can also take a look at other repos for examples (setup-node in particular has several good...