# Could not find a valid gem 'dpl-pages'

**URL:** https://travis-ci.community/t/could-not-find-a-valid-gem-dpl-pages/4258
**Category:** Deployment
**Tags:** gh-pages
**Created:** [July 18, 2019, 10:13am UTC](https://travis-ci.community/t/could-not-find-a-valid-gem-dpl-pages/4258 "2019-07-18T10:13:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![wenkokke](https://avatars.discourse-cdn.com/v4/letter/w/8baadc/32.png) [@wenkokke](https://travis-ci.community/u/wenkokke)
#### Post date: [July 18, 2019, 10:13am UTC](https://travis-ci.community/t/could-not-find-a-valid-gem-dpl-pages/4258/1 "2019-07-18T10:13:09Z")

</div>

My travis build (for plfa/plfa.github.io) is failing with the following error:

```
Installing deploy dependencies
ERROR: Could not find a valid gem 'dpl-pages' (= 1.10.13.travis.4141.5) in any repository
ERROR: Possible alternatives: dpl-pages
    /home/travis/.rvm/rubies/ruby-2.4.5/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- dpl/provider/pages (LoadError)
    from /home/travis/.rvm/rubies/ruby-2.4.5/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:59:in `require'
    from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.13.travis.4141.5/lib/dpl/provider.rb:93:in `rescue in block in new'
    from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.13.travis.4141.5/lib/dpl/provider.rb:68:in `block in new'
    from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.13.travis.4141.5/lib/dpl/cli.rb:41:in `fold'
    from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.13.travis.4141.5/lib/dpl/provider.rb:67:in `new'
    from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.13.travis.4141.5/lib/dpl/cli.rb:31:in `run'
    from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.13.travis.4141.5/lib/dpl/cli.rb:7:in `run'
    from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.13.travis.4141.5/bin/dpl:5:in `<top (required)>'
    from /home/travis/.rvm/gems/ruby-2.4.5/bin/dpl:23:in `load'
    from /home/travis/.rvm/gems/ruby-2.4.5/bin/dpl:23:in `<main>'
    failed to deploy

```

Is this a known problem? If so, what do I do about it?

---

<div class="post-metadata">

### Author: ![jayvdb](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jayvdb/32/1966_2.png) [@jayvdb](https://travis-ci.community/u/jayvdb)
#### Post date: [July 18, 2019, 11:32am UTC](https://travis-ci.community/t/could-not-find-a-valid-gem-dpl-pages/4258/2 "2019-07-18T11:32:39Z")

</div>

My guess is this is your problem:

```auto
$ rvm use default

Using /home/travis/.rvm/gems/ruby-2.5.3

```

I guess it is then installing `dpl` into 2.5.3 , and then the deploy is trying to use `dpl` from 2.4.5, but it isnt there.

---

<div class="post-metadata">

### Author: ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)
#### Post date: [July 18, 2019, 12:25pm UTC](https://travis-ci.community/t/could-not-find-a-valid-gem-dpl-pages/4258/3 "2019-07-18T12:25:21Z")

</div>

Looks like uploads of this version had problems due to [rubygems.org](http://rubygems.org) errors. [https://travis-ci.org/travis-ci/dpl/jobs/560160344](https://travis-ci.org/travis-ci/dpl/jobs/560160344)

---

<div class="post-metadata">

### Author: ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)
#### Post date: [July 18, 2019, 3:56pm UTC](https://travis-ci.community/t/could-not-find-a-valid-gem-dpl-pages/4258/4 "2019-07-18T15:56:16Z")

</div>

We’ve published the latest pre-release gems. There is no reason to specifically use 1.10.13.travis.1414.5, so try using the edge pre-release now.
