Ruby build.
#437
Replies: 1 comment 1 reply
-
Use a more recent version of bundler? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 method
untaint' 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:in
find_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:in
root'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:in
settings'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:in
class: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:in
require'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:in
with_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:in
load'24
from /opt/hostedtoolcache/Ruby/3.2.0/x64/bin/bundle:25:in `
25
Error: Process completed with exit code 1.
Beta Was this translation helpful? Give feedback.
All reactions