Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

setup-ruby doesn't work on ubuntu-20.04 #70

Open
jwillemsen opened this issue Jun 9, 2020 · 9 comments
Open

setup-ruby doesn't work on ubuntu-20.04 #70

jwillemsen opened this issue Jun 9, 2020 · 9 comments

Comments

@jwillemsen
Copy link
Contributor

ubuntu-20.04 is available (see https://github.com/actions/virtual-environments#available-environments), but when using setup-ruby we get ##[error]Version 2.7 not found. I created the PR #69 to demonstrate this, currently ubuntu-latest points to ubuntu-18.04 so this is not detected by the default testing

@jwillemsen
Copy link
Contributor Author

It does work when using 2.7.x as version

@jwillemsen
Copy link
Contributor Author

Looks with the released action this doesn't work yet, see for example https://github.com/RemedyIT/axcioma/pull/49/checks?check_run_id=753730607

@jwillemsen jwillemsen reopened this Jun 9, 2020
@MSP-Greg
Copy link
Contributor

MSP-Greg commented Jun 9, 2020

I've gotten several emails this morning showing your work, not quite sure what your goal is.

Re Ubuntu 20.04 & Ruby, all versions are available when using ruby/setup-ruby

@jwillemsen
Copy link
Contributor Author

I wanted to upgrade one of our github actions usage to use 20.04. Our action script uses actions/setup-ruby and this doesn't seem to work with 20.04 correctly

@eregon
Copy link
Contributor

eregon commented Jun 9, 2020

I'd suggest to use ruby/setup-ruby which has all versions and 20.04 support since last weekend.
ruby/setup-ruby is BTW now used in the Ruby starter workflow.

@jwillemsen
Copy link
Contributor Author

Ok, will try to use ruby/setup-ruby

@MSP-Greg
Copy link
Contributor

MSP-Greg commented Jun 9, 2020

@jwillemsen

Sorry, I wasn't clear (not enough coffee yet). ruby/setup-ruby is used by almost all of the repos within the Ruby org, and many other popular gems. It makes multi-platform CI with Ruby as easy as possible...

@jwillemsen
Copy link
Contributor Author

Yes, switching to it right now. Did make a PR for ruby/setup-ruby to test with all virtual environments explicitly to make sure everything works

@mondeja
Copy link

mondeja commented Dec 2, 2020

I see that Bundler is not included using ruby-version: 2.5 so I suggest #80

cmur2 added a commit to cmur2/dyndnsd that referenced this issue Dec 4, 2020
- actions/setup-ruby does not work on new GHA runners Ubuntu 20.04 (missing bundler in 2.5) as per actions/setup-ruby#70
- might be deprecated as per actions/setup-ruby#80
- https://github.com/ruby/setup-ruby is recommended is superior
cmur2 added a commit to cmur2/dyndnsd that referenced this issue Dec 4, 2020
- actions/setup-ruby does not work on new GHA runners Ubuntu 20.04 (missing bundler in 2.5) as per actions/setup-ruby#70
- might be deprecated as per actions/setup-ruby#80
- https://github.com/ruby/setup-ruby is recommended is superior
cmur2 added a commit to zeebe-io/zeebe-client-ruby that referenced this issue Dec 10, 2020
- actions/setup-ruby does not work on new GHA runners Ubuntu 20.04 (missing bundler in 2.5) as per actions/setup-ruby#70
- might be deprecated as per actions/setup-ruby#80
- https://github.com/ruby/setup-ruby is recommended is superior
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants