Skip to content

Commit a351208

Browse files
committed
fix: specify path
``` The installation path is insecure. Bundler cannot continue. /opt/hostedtoolcache/Ruby/3.3.9/x64/lib/ruby/gems/3.3.0/gems is world-writable (without sticky bit). Bundler cannot safely replace gems in world-writeable directories due to potential vulnerabilities. Please change the permissions of this directory or choose a different install path. rake aborted! ```
1 parent ff43f1c commit a351208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def generate_rails_rdoc
7373
gemfile.gsub!(/"sdoc".*$/, %("sdoc", github: "toshimaru/sdoc", branch: "#{MY_SDOC_BRANCH}"))
7474
File.write('Gemfile', gemfile)
7575

76-
sh 'bundle install && bundle update sdoc'
76+
sh 'bundle install --path vendor/bundle && bundle update sdoc'
7777
rm_rf 'doc'
7878
sh 'bundle exec rake rdoc'
7979
end

0 commit comments

Comments
 (0)