The command "eval bundle install --jobs=3 --retry=3 --deployment " failed

Hi, the gh-pages build is showing this issue in the logs. What exactly do I need to fix to get this to work? Previous builds have worked without issues. Not sure what changed now.

$ bundle install --jobs=3 --retry=3 --deployment

/home/travis/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems.rb:275:in `find_spec_for_exe': Could not find 'bundler' (1.16.6) required by your /home/travis/build/adityabidikar/ (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:1.16.6`
from /home/travis/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems.rb:294:in `activate_bin_path'
from /home/travis/.rvm/gems/ruby-2.3.3/bin/bundle:23:in `<main>'
from /home/travis/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
from /home/travis/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'

The command "eval bundle install --jobs=3 --retry=3 --deployment " failed. Retrying, 2 of 3.

I’m getting the same error and nothing has changed on my end.

Fixed the issue. Had to update the gemfile.lock that mentions the bundler version. Followed the steps here to update the bundler version on my system and to generate the new gemfile.lock:

(I also decided to update Jekyll to 4.x. And update the other gems as well.)

If you are still facing this issue, posted the fix above.