Uh oh!
There was an error while loading. Please reload this page.
Replies: 1 comment 1 reply
Use a more recent version of bundler? |
1 reply
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
There was an error while loading. Please reload this page.
Use a more recent version of bundler? |
Uh oh!
There was an error while loading. Please reload this page.
name: Ruby
on:
push:
branches: [ "Master" ]
pull_request:
branches: [ "Master" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
#- uses: ee21135
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
#bundler-cache: true
- name: install dependencies
run: bundle install
But I keep getting this error.
Is there something I need to do?
Run bundle exec rake
4
/opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:272:in
search_up': undefined methoduntaint' for "/home/runner/work/Auth_servicebuild/Auth_servicebuild":String (NoMethodError)5
6
'current = File.expand_path(SharedHelpers.pwd).untaint
7
^^^^^^^^
8
from /opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:259:in
find_file' [9](https://github.com/saheedgw/Auth_servicebuild/actions/runs/3830318181/jobs/6518027607#step:4:10) from /opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:251:infind_gemfile'10
from /opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:27:in
root' [11](https://github.com/saheedgw/Auth_servicebuild/actions/runs/3830318181/jobs/6518027607#step:4:12) from /opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/lib/bundler.rb:234:inroot'12
from /opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/lib/bundler.rb:246:in
app_config_path' [13](https://github.com/saheedgw/Auth_servicebuild/actions/runs/3830318181/jobs/6518027607#step:4:14) from /opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/lib/bundler.rb:273:insettings'14
from /opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/lib/bundler/feature_flag.rb:21:in
block in settings_method' [15](https://github.com/saheedgw/Auth_servicebuild/actions/runs/3830318181/jobs/6518027607#step:4:16) from /opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/lib/bundler/cli.rb:97:inclass:CLI'16
from /opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/lib/bundler/cli.rb:7:in
<module:Bundler>' [17](https://github.com/saheedgw/Auth_servicebuild/actions/runs/3830318181/jobs/6518027607#step:4:18) from /opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/lib/bundler/cli.rb:6:in<top (required)>'18
from internal:/opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb:85:in
require' [19](https://github.com/saheedgw/Auth_servicebuild/actions/runs/3830318181/jobs/6518027607#step:4:20) from <internal:/opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:inrequire'20
from /opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/exe/bundle:23:in
block in <top (required)>' [21](https://github.com/saheedgw/Auth_servicebuild/actions/runs/3830318181/jobs/6518027607#step:4:22) from /opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:inwith_friendly_errors'22
from /opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/exe/bundle:22:in
<top (required)>' [23](https://github.com/saheedgw/Auth_servicebuild/actions/runs/3830318181/jobs/6518027607#step:4:24) from /opt/hostedtoolcache/Ruby/3.2.0/x64/bin/bundle:25:inload'24
from /opt/hostedtoolcache/Ruby/3.2.0/x64/bin/bundle:25:in `
25
Error: Process completed with exit code 1.
All reactions