Skip to content

Data model generation failing #38

@nickevansuk

Description

@nickevansuk

There appears to be an error here:

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
working-directory: ./models-ruby/

Data model generation appears to be failing:

https://github.com/openactive/models-ruby/runs/5216156909?check_suite_focus=true

Run ruby/setup-ruby@v1
Modifying PATH
Downloading Ruby
Extracting  Ruby
Print Ruby version
Installing Bundler
bundle install
  /opt/hostedtoolcache/Ruby/3.1.0/x64/bin/bundle config --local path /home/runner/work/models-ruby/models-ruby/models-ruby/vendor/bundle
  /opt/hostedtoolcache/Ruby/3.1.0/x64/bin/bundle lock
  Fetching gem metadata from https://rubygems.org/.........
  Resolving dependencies...
  Bundler could not find compatible versions for gem "bundler":
    In Gemfile:
      bundler (~> 2.2.13)
  
    Current Bundler version:
      bundler (2.3.7)
  
  Your bundle requires a different version of Bundler than the one you're running.
  Install the necessary version with `gem install bundler:2.2.[33](https://github.com/openactive/models-ruby/runs/5216156909?check_suite_focus=true#step:9:33)` and rerun
  bundler using `bundle _2.2.33_ lock`
  Took   1.99 seconds

To test any fix this, a branch needs to be created, and the GitHub Workflow run manually via the "Run workflow" button on https://github.com/openactive/models-ruby/actions/workflows/create-data-model-pr.yaml for that specific branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions