Skip to content

Commit

Permalink
RuboCop said this line was too long, so make it shorter (uselessly)
Browse files Browse the repository at this point in the history
  • Loading branch information
issyl0 committed Apr 7, 2024
1 parent 561d429 commit b830b3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Library/Homebrew/standalone/init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
end

if Pathname.new(RbConfig.ruby).to_s.include?("/vendor/portable-ruby/")
$LOAD_PATH.unshift "#{RbConfig::CONFIG["rubylibprefix"]}/gems/#{RbConfig::CONFIG["ruby_version"]}/gems/debug-1.6.3/lib"
prefix = RbConfig::CONFIG["rubylibprefix"]
ruby_version = RbConfig::CONFIG["ruby_version"]
$LOAD_PATH.unshift "#{prefix}/gems/#{ruby_version}/gems/debug-1.6.3/lib"
end

unless $LOAD_PATH.include?(HOMEBREW_LIBRARY_PATH.to_s)
Expand Down

0 comments on commit b830b3e

Please sign in to comment.