# GitHub Pages deployment is broken

**URL:** https://travis-ci.community/t/github-pages-deployment-is-broken/3537
**Category:** Deployment
**Tags:** gh-pages
**Created:** [May 28, 2019, 9:12pm UTC](https://travis-ci.community/t/github-pages-deployment-is-broken/3537 "2019-05-28T21:12:53Z")
**Posts on this page:** 7
**Page:** 1

<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: [May 28, 2019, 9:12pm UTC](https://travis-ci.community/t/github-pages-deployment-is-broken/3537/1 "2019-05-28T21:12:53Z")

</div>

It may fail with error messages such as:

```
Installing deploy dependencies
Fetching: multipart-post-2.1.1.gem (100%)
Successfully installed multipart-post-2.1.1
Fetching: faraday-0.15.4.gem (100%)
Successfully installed faraday-0.15.4
Fetching: public_suffix-3.1.0.gem (100%)
ERROR: Error installing dpl-pages:
	public_suffix requires Ruby version >= 2.3.
```

See

> <https://github.com/travis-ci/dpl/pull/996>

---

<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: [May 29, 2019, 2:09pm UTC](https://travis-ci.community/t/github-pages-deployment-is-broken/3537/2 "2019-05-29T14:09:50Z")

</div>

We’ve released [dpl 1.10.9](https://rubygems.org/gems/dpl/versions/1.10.9), which resolves this problem. If you see a problem with this particular dependency problem, please report it here. For all others, do open a new topic.

Thanks.

---

<div class="post-metadata">

### Author: ![drx-tn](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/drx-tn/32/1905_2.png) [@drx-tn](https://travis-ci.community/u/drx-tn)
#### Post date: [May 31, 2019, 11:59pm UTC](https://travis-ci.community/t/github-pages-deployment-is-broken/3537/3 "2019-05-31T23:59:35Z")

</div>

I encounterd what seems to be the same problem with dpl 1.10.10:

```
ERROR: Error installing dpl-releases:
	The last version of public_suffix (>= 2.0.2, < 4.0) to support your Ruby & RubyGems was 3.0.3. Try installing it with `gem install public_suffix -v 3.0.3` and then running the current command again
	public_suffix requires Ruby version >= 2.3. The current ruby version is 2.2.0.
Successfully installed multipart-post-2.1.1
Successfully installed faraday-0.15.4
/home/travis/.rvm/rubies/ruby-2.2.5/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- dpl/provider/releases (LoadError)
	from /home/travis/.rvm/rubies/ruby-2.2.5/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.10.10/lib/dpl/provider.rb:93:in `rescue in block in new'
	from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.10.10/lib/dpl/provider.rb:68:in `block in new'
	from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.10.10/lib/dpl/cli.rb:41:in `fold'
	from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.10.10/lib/dpl/provider.rb:67:in `new'
	from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.10.10/lib/dpl/cli.rb:31:in `run'
	from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.10.10/lib/dpl/cli.rb:7:in `run'
	from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.10.10/bin/dpl:5:in `<top (required)>'
	from /home/travis/.rvm/gems/ruby-2.2.5/bin/dpl:23:in `load'
	from /home/travis/.rvm/gems/ruby-2.2.5/bin/dpl:23:in `<main>'

travis_fold:end:dpl.1
failed to deploy
```

---

<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: [June 2, 2019, 12:34am UTC](https://travis-ci.community/t/github-pages-deployment-is-broken/3537/4 "2019-06-02T00:34:16Z")

</div>

Sorry about the problem. Could you point to the build log URL? Thanks.

---

<div class="post-metadata">

### Author: ![drx-tn](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/drx-tn/32/1905_2.png) [@drx-tn](https://travis-ci.community/u/drx-tn)
#### Post date: [June 2, 2019, 12:58am UTC](https://travis-ci.community/t/github-pages-deployment-is-broken/3537/5 "2019-06-02T00:58:34Z")

</div>

This is the [the build log](https://api.travis-ci.org/v3/job/539940420/log.txt) for the problem I encountered. I fixed it by replacing the Linux distribution from Precise to Trusty. Thank you for the quick reply.

---

<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: [June 2, 2019, 1:48pm UTC](https://travis-ci.community/t/github-pages-deployment-is-broken/3537/6 "2019-06-02T13:48:49Z")

</div>

So, yours was a different manifestation of

> [@\[BUG\] Requesting Xenial, getting Precise with language: android](https://travis-ci.community/t/bug-requesting-xenial-getting-precise-with-language-android/1773):
>
> As title said. Sample: [https://travis-ci.com/a5k-testing/unzip-test/builds/96905522](https://travis-ci.com/a5k-testing/unzip-test/builds/96905522) PS: Could you please add a specific category for bug reports?

as strange as it may seem. Your job was getting the Precise image due to ↑, and switching to Trusty should be a solution for now.

---

<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: [June 4, 2019, 2:11pm UTC](https://travis-ci.community/t/github-pages-deployment-is-broken/3537/7 "2019-06-04T14:11:23Z")

</div>

dpl 1.10.11 resolves issues with GitHub Releases as well.
