Skip to content
This repository was archived by the owner on Dec 8, 2017. It is now read-only.
This repository was archived by the owner on Dec 8, 2017. It is now read-only.

Figure out Travis CI failures #16

Description

@mbland

Travis has started throwing errors for ./go build:

https://travis-ci.org/18F/web-design-standards/builds/106562512
https://travis-ci.org/18F/web-design-standards/builds/106737058#L247

$ bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
$ ./go build
/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'bundler' (>= 0) among 45 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/home/travis/build/18F/web-design-standards/vendor/bundle/ruby/2.2.0', execute `gem env` for more information
    from /home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/dependency.rb:324:in `to_spec'
    from /home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'
    from /home/travis/.rvm/gems/ruby-2.2.3/bin/bundle:22:in `<main>'
    from /home/travis/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
    from /home/travis/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'

travis-ci/travis-ci#4536 references this problem, which I think has to do with the --path argument and bundler itself not being in the BUNDLER_PATH.

Also: https://docs.travis-ci.com/user/caching/#Bundler

cc: @juliaelman @harrisj @afeld @rogeruiz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions