Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)
gra1 opened this issue · comments
Ostap Bochulia commented
Sorry guys, I am not sure this is proper place to ask such question, I have pretty standard pronto github action config but it failed,
could you help me understand why?
Error:
bundler: failed to load command: pronto (/opt/hostedtoolcache/Ruby/2.6.5/x64/bin/pronto) /opt/hostedtoolcache/Ruby/2.6.5/x64/lib/ruby/gems/2.6.0/gems/bundler-2.2.0/lib/bundler/spec_set.rb:[8](https://github.com/charperbonaroo/travel/runs/7764040001?check_suite_focus=true#step:6:9)6:in
block in materialize': Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)`
Code:
`
name: Pronto
on: [pull_request]
jobs:
pronto:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: |
git fetch --no-tags --prune --depth=10 origin +refs/heads/*:refs/remotes/origin/*
- name: Setup Ruby
uses: ruby/setup-ruby@v1
- name: Setup pronto
run: gem install pronto pronto-rubocop pronto-reek
- name: Run Pronto
run: bundle exec pronto run -f github_status github_pr -c origin/${{ github.base_ref }}
env:
PRONTO_PULL_REQUEST_ID: ${{ github.event.pull_request.number }}
PRONTO_GITHUB_ACCESS_TOKEN: "${{ github.token }}"
`