Error executing implementation test

1

I use Travis-Ci (as learning) to better understand implementation testing.

Since build 14 I have this error link

I had a small change while sending the file gemfile.lock, but the error still persisted.

    
asked by anonymous 31.01.2014 / 18:32

2 answers

1

Dude, run the commands below in sequence

bundle install
rm -rf .bundle vendor/bundle
bundle install --deployment

First you will install the bundle locally, then remove the compiled ones, and install the gems in the application again.

If you need to send the compiled to the repository, be sure to remove these folders from the .gitignore file at the root of the application.

If there is an error when you run "bundle install", please tell them what they were.

flw

    
14.02.2014 / 19:44
0

I think you should run the bundle install (or update) locally (on your pc), as suggested by the build bug, so the bundler will update the Gemfile.lock. Commit and push afterwards.

In Travis's documentation it says:

  

If Gemfile.lock exists in your project's root directory, we add the --deployment flag.

However, in your build you ask to run the bundle install, but you have Gemfile.lock and it will not run bundle install on Travis CI.

    
01.02.2014 / 12:01