Uninitialized constant RuboCop::Lockfile::Bundler
sramsden opened this issue · comments
Just started seeing this yesterday.
I can't work out if this is a rubocop or pronto thing, so apologies if it's rubocop.
It's rubocop code but it's complaint sounds like pronto is not loading the required class?
Has anyone seen this?
I am running pronto as a github action..
jobs:
pronto:
if: ${{ github.ref != 'refs/heads/master' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 10
- run: git fetch --no-tags --prune --depth=10 origin master:master
- name: Setup Ruby
uses: ruby/setup-ruby@v1
- name: Setup pronto
run: gem install pronto pronto-rubocop rubocop-rails
- name: Run Pronto
run: pronto run --commit $(git merge-base --fork-point master) --runner rubocop --exit-code
![image](https://private-user-images.githubusercontent.com/8897694/321053517-aba3fe40-57a1-430c-b576-d67de767baeb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg3MjY1NzMsIm5iZiI6MTcxODcyNjI3MywicGF0aCI6Ii84ODk3Njk0LzMyMTA1MzUxNy1hYmEzZmU0MC01N2ExLTQzMGMtYjU3Ni1kNjdkZTc2N2JhZWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MThUMTU1NzUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGZjZmE2MzZiM2E5ZDZkMzgzYzU0NzlmMmRlZDVhMTA2ZmVjNGEwMDIxNjVhOGQ1MzQ0ZTM4MDFkZTExM2Q2YSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.-UNm0QxTV1j-V6qdtJWAsqhKkrOrODws3fKeRTzrt8c)
Thanks @JanCBrammer