Hi @SurajDev2 – Welcome to Discuss!
I believe the issue may have started with this commit:
Which changed the Bundler version from
2.2.9 – based on the error message:
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/lockfile_parser.rb:238:in parse_spec': undefined method dependencies’ for nil:NilClass (NoMethodError)
It looks like
bundler-1.17.2 is still trying to be used in the container, likely causing the mismatch and issues. You can set the specific version of Bundler in your Gemfile like the following:
gem 'bundler', '2.2.9'
You will likely also want to add the following run steps to your
config.yml before your
bundle install after adding that gem to ensure it’s installed before the
name: install dependencies
gem update --system
gem install bundler
name: Which bundler
command: bundle -v
Hope that helps and please let me know if you need anything else!