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

Travis rubygem pr test - Add tests to bring coverage to 100% #1

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

afinetooth
Copy link
Member

Add tests to bring coverage to 100%

Trying to resolve this issue: 

> The command "eval bundle install --jobs=3 --retry=3 --deployment " failed. Retrying, 3 of 3.
> [DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set deployment 'true'`, and stop using this flag
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.

With recommendation from this travis-ci community post:
https://travis-ci.community/t/bundle-install-started-failing-on-ruby-build/4368
Trying to resolve this error:

>The command "eval bundle install --jobs=3 --retry=3 --deployment " failed. Retrying, 2 of 3.
>/home/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0/rubygems.rb:284:in `find_spec_for_exe': Could not find 'bundler' (2.1.4) required by your /home/travis/build/coverallsapp/coveralls-demo-ruby-enterprise/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.1.4`
	from /home/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0/rubygems.rb:303:in `activate_bin_path'
	from /home/travis/.rvm/rubies/ruby-2.6.3/bin/bundle:23:in `<main>'
	from /home/travis/.rvm/rubies/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval'
	from /home/travis/.rvm/rubies/ruby-2.6.3/bin/ruby_executable_hooks:24:in `<main>'

Using this reference:
https://docs.travis-ci.com/user/languages/ruby/#bundler
The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set deployment 'true'`, and stop using this flag
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.

None yet

1 participant