# Failing after success stage

**URL:** <https://travis-ci.community/t/failing-after-success-stage/14769>\
**Category:** Travis CI Discussions & Feedback\
**Tags:** travis-build, bug\
**Created:** [October 8, 2025, 8:53am UTC](https://travis-ci.community/t/failing-after-success-stage/14769 "2025-10-08T08:53:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZukalJakub](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/zukaljakub/32/9441_2.png) [@ZukalJakub](https://travis-ci.community/u/ZukalJakub)\
**Post date:** [October 8, 2025, 8:53am UTC](https://travis-ci.community/t/failing-after-success-stage/14769/1 "2025-10-08T08:53:46Z")

</div>

Hi.. our build started to fail on part after successful build (travis\_run\_after\_success).

Error is: The command “rvm use $(travis\_internal\_ruby) --fuzzy do ruby -S gem install dpl -v 2.0.5.4” failed and exited with 2 during .

Distro:

- focal and jammy has this error
- noble failed to start docker

---

<div class="post-metadata">

**Author:** ![Montana](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/montana/32/9566_2.png) [@Montana](https://travis-ci.community/u/Montana)\
**Post date:** [October 14, 2025, 2:57pm UTC](https://travis-ci.community/t/failing-after-success-stage/14769/2 "2025-10-14T14:57:12Z")

</div>

```auto
before_deploy:
  - gem install dpl -v 1.10.16

deploy:
  provider: releases  
  edge:
    branch: dpl-v1
  skip_cleanup: true
  on:
    branch: main

```

This will force Travis to use dpl v1.10.16, which is compatible with Ruby 2.7.6 and should resolve your deployment failures immediately.
