summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Hughes <ben@puppetlabs.com>2011-03-29 13:38:44 +1100
committerBen Hughes <ben@puppetlabs.com>2011-03-31 16:39:12 +1100
commit06eb3f57f48a57881e8dadc19714366eed5add18 (patch)
tree7a64a2bb23f59c318b01fd1987422c8abf43e256
parent28f475ab83319e1bf15ee108d5895cadc72383ad (diff)
downloadfacter-06eb3f57f48a57881e8dadc19714366eed5add18.tar.gz
facter-06eb3f57f48a57881e8dadc19714366eed5add18.tar.xz
facter-06eb3f57f48a57881e8dadc19714366eed5add18.zip
(#6883) Update Facter install.rb to be slightly more informative.
Give slightly more information to the user when installing facter and the pre-requisite Ruby libraries are not installed. In the case of OpenSSL, the user can have OpenSSL installed, and not the gem/library, but the error message given in no way hints to this.
-rwxr-xr-xinstall.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.rb b/install.rb
index eb91e7c..d4793eb 100755
--- a/install.rb
+++ b/install.rb
@@ -119,7 +119,7 @@ def check_prereqs
begin
require pre
rescue LoadError
- puts "Could not load %s; cannot install" % pre
+ puts "Could not load #{pre} Ruby library; cannot install"
exit -1
end
}