Error in Bundle install in Travis

Asked

Viewed 34 times

0

When running Trigger a build on Travis, Travis points to the following error. Ruby version 2.3.3 and Rails version 5.1.7. Follows Travis.yml Error Travis.yml

1 answer

0

Here is a Travis.yml of mine that is working normally:

language: ruby
cache: bundler
rvm:
- 2.4.5
before_install:
- gem update --system
- gem install bundler
env:
  global:
  - RACK_ENV=test
  - RAILS_ENV=test
  - trecho omidído
script:
- bundle install --jobs=3 --retry=3
- RAILS_ENV=test bundle exec rake db:schema:load --trace
- bundle exec rake db:test:prepare
- bundle exec rspec

Try to rotate the Gem update --system before installing the bundler. Also check if you need to specify the bundler version. Another thing: cache: bundler in configuration ;)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.