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

fix: docs site publish failure on travis #1426

Merged
merged 1 commit into from
Apr 29, 2019
Merged

fix: docs site publish failure on travis #1426

merged 1 commit into from
Apr 29, 2019

Conversation

jbadan
Copy link
Contributor

@jbadan jbadan commented Apr 29, 2019

After upgrading to bundler 2.0, Travis fails on docs site deploy with the following error:

/home/travis/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by your /home/travis/build/SAP/fundamental/docs/Gemfile.lock. (Gem::GemNotFoundException)
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:2.0.1`

see: https://travis-ci.org/SAP/fundamental/jobs/525497160

The Travis docs recommend adding gem update --system to the config to ensure the correct version is installed: https://docs.travis-ci.com/user/languages/ruby/#bundler-20

I don't have a way of testing this without deploying the docs. Another option is to downgrade back to bundler 1.0.

@jbadan jbadan requested a review from a team April 29, 2019 15:50
@netlify
Copy link

netlify bot commented Apr 29, 2019

Deploy preview for fundamental ready!

Built with commit de3c4b9

https://deploy-preview-1426--fundamental.netlify.com

Copy link
Contributor

@bcullman bcullman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@jbadan jbadan merged commit 4f6aff3 into master Apr 29, 2019
@jbadan jbadan deleted the fix/docs-site branch April 29, 2019 20:03
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

Successfully merging this pull request may close these issues.

2 participants