Skip to content

Commit

Permalink
ruby: fix postinstall
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Aug 1, 2024
1 parent 2a1fd38 commit 073bdf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/r/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def post_install
rm(%W[
#{rubygems_bindir}/bundle
#{rubygems_bindir}/bundler
])
].select { |file| File.exist?(file) })
rm_r(Dir[HOMEBREW_PREFIX/"lib/ruby/gems/#{api_version}/gems/bundler-*"])
rubygems_bindir.install_symlink Dir[libexec/"gembin/*"]

Expand Down

0 comments on commit 073bdf8

Please sign in to comment.