Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing dpl #1281

Open
SaraCaponi2 opened this issue May 8, 2024 · 4 comments
Open

Error installing dpl #1281

SaraCaponi2 opened this issue May 8, 2024 · 4 comments

Comments

@SaraCaponi2
Copy link

Hello our build is failing when trying to install dpl

$ rvm $(travis_internal_ruby) --fuzzy do ruby -S gem uninstall -aIx dpl
Gem 'dpl' is not installed
32.17s$ rvm $(travis_internal_ruby) --fuzzy do ruby -S gem install dpl --pre
ERROR:  Error installing dpl:
	The last version of dpl (>= 0) to support your Ruby & RubyGems was 2.0.3.beta.4. Try installing it with `gem install dpl -v 2.0.3.beta.4`
	dpl requires Ruby version >= 3. The current ruby version is 2.7.6.219.
Successfully installed mime-0.4.4
Successfully installed json_pure-2.7.2
Successfully installed excon-0.110.0
Successfully installed travis-packagecloud-ruby-1.1.0
Successfully installed regstry-1.0.15
Successfully installed travis-cl-1.2.4

The command "rvm $(travis_internal_ruby) --fuzzy do ruby -S gem install dpl --pre" failed and exited with 1 during .

We haven't changed any of the configurations from yesterday when it was passing.

It is a javscript build that deploys an npm module.

I have tried manually installing ruby v3.0.0 in the before_install and installing dpl v2.0.3.beta.4 in the before_deploy but no matter what I try I continue to receive the same error.

This is happening to multiple repos heres a link to some of the builds:
https://app.travis-ci.com/github/choosemylo/react-utils/builds/270375237#L3397
https://app.travis-ci.com/github/choosemylo/mind-of-mylo-auth/builds/270375674#L522

Please let us know if there is a work around to get these to pass.

@SaraCaponi2
Copy link
Author

SaraCaponi2 commented May 8, 2024

reached out to travis support via email and they were able to provide me with this work around that worked while they further investigate the issue so sharing here in case anyone else has this issue:

deploy:
   provider: <proper_provider>
   edge:
       branch: v2.0.3-beta.4

@xubofei1983
Copy link

v2.0.3-beta.4 seems gone.

We just hit this error, any updates to this issue?

@delacruznic
Copy link

v2.0.3-beta.4 seems gone.

We just hit this error, any updates to this issue?

I got my deployment to pass by setting edge=true—this uses the latest version, but you could also try a different available beta branch.

@xubofei1983
Copy link

still not work for me.

$ rvm use $(travis_internal_ruby) --fuzzy do ruby -S gem install dpl --pre
ERROR: Error installing dpl:
The last version of dpl (>= 0) to support your Ruby & RubyGems was 2.0.3.beta.4. Try installing it with gem install dpl -v 2.0.3.beta.4
dpl requires Ruby version >= 3.1. The current ruby version is 2.7.6.219.
Successfully installed mime-0.4.4
Successfully installed json_pure-2.8.1
Successfully installed excon-0.112.0
Successfully installed travis-packagecloud-ruby-1.1.0
Successfully installed regstry-1.0.15
Successfully installed travis-cl-1.2.4
Successfully installed net-http-0.4.1
The command "rvm use $(travis_internal_ruby) --fuzzy do ruby -S gem install dpl --pre" failed and exited with 1 during .

I am building a scala project. Maybe different?

dist: focal

services:

  • docker

language: scala

scala:

  • 2.13.6

jdk:

  • openjdk11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants