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

Data model generation failing #38

Open
nickevansuk opened this issue Feb 24, 2022 · 0 comments
Open

Data model generation failing #38

nickevansuk opened this issue Feb 24, 2022 · 0 comments

Comments

@nickevansuk
Copy link
Contributor

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.

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

No branches or pull requests

1 participant