Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected]: clean up caveats #159435

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Formula/r/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,6 @@ def self.default_specifications_dir
end

def caveats
return unless latest_version_installed?

<<~EOS
By default, binaries installed by gem will be placed into:
#{rubygems_bindir}
Expand All @@ -234,6 +232,9 @@ def caveats
test do
hello_text = shell_output("#{bin}/ruby -e 'puts :hello'")
assert_equal "hello\n", hello_text

assert_equal api_version, shell_output("#{bin}/ruby -e 'print Gem.ruby_api_version'")

ENV["GEM_HOME"] = testpath
system "#{bin}/gem", "install", "json"

Expand Down
Loading