aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rrdtool.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/rrdtool.rb b/Library/Formula/rrdtool.rb
index 90bc0c067..de410b35e 100644
--- a/Library/Formula/rrdtool.rb
+++ b/Library/Formula/rrdtool.rb
@@ -24,7 +24,7 @@ class Rrdtool < Formula
which_perl = which 'perl'
which_ruby = which 'ruby'
- opoo "Using system Ruby. RRD module will be installed to /Library/Ruby/..." if which_ruby.realpath.to_s == RUBY_PATH
+ opoo "Using system Ruby. RRD module will be installed to /Library/Ruby/..." if which_ruby.realpath == RUBY_PATH
opoo "Using system Perl. RRD module will be installed to /Library/Perl/..." if which_perl.to_s == "/usr/bin/perl"
args = %W[
@@ -32,7 +32,7 @@ class Rrdtool < Formula
--prefix=#{prefix}
]
args << "--enable-perl-site-install" if which_perl.to_s == "/usr/bin/perl"
- args << "--enable-ruby-site-install" if which_ruby.realpath.to_s == RUBY_PATH
+ args << "--enable-ruby-site-install" if which_ruby.realpath == RUBY_PATH
system "./configure", *args