Hi, I’m getting an error with my scraper:
You must use Bundler 2 or greater with this lockfile.
I assumed the runtime would honour my .ruby-version and Gemfile.lock which specify ruby 3.1.4 and bundler 2.3.25.
here’s the scraper and I assume you can see the log output morph.io: heathd/civil_service_jobs
any ideas?
Longer log output below:
Injecting configuration and compiling...
[1G [1G-----> Ruby app detected
[1G !
[1G ! You must use Bundler 2 or greater with this lockfile.
[1G !
[91m/tmp/d20230703-209-1i3lgym/bundler-1.15.2/gems/bundler-1.15.2/lib/bundler/lockfile_parser.rb:108:in `warn_for_outdated_bundler_version': You must use Bundler 2 or greater with this lockfile. (Bundler::LockfileError)
from /tmp/d20230703-209-1i3lgym/bundler-1.15.2/gems/bundler-1.15.2/lib/bundler/lockfile_parser.rb:95:in `initialize'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/helpers/bundler_wrapper.rb:130:in `new'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/helpers/bundler_wrapper.rb:130:in `block in parse_gemfile_lock'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:17:in `block in instrument'
from /tmp/tmp.dMkjya4kVi/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:16:in `instrument'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/helpers/bundler_wrapper.rb:86:in `instrument'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/helpers/bundler_wrapper.rb:128:in `parse_gemfile_lock'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/helpers/bundler_wrapper.rb:112:in `lockfile_parser'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/helpers/bundler_wrapper.rb:74:in `specs'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/helpers/bundler_wrapper.rb:59:in `block in gem_version'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:17:in `block in instrument'
from /tmp/tmp.dMkjya4kVi/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:16:in `instrument'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/helpers/bundler_wrapper.rb:86:in `instrument'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/helpers/bundler_wrapper.rb:58:in `gem_version'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/rails5.rb:9:in `block in use?'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:17:in `block in instrument'
from /tmp/tmp.dMkjya4kVi/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'