summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Hughes <ben@puppetlabs.com>2011-03-29 13:38:44 +1100
committerAdrien Thebo <adrien.thebo@gmail.com>2011-04-01 18:19:11 -0700
commit7c80172fa79105c642f327c59b69f23be2153bb1 (patch)
treeb1d79db76c2b532bd0d52f2af8a7372106961384
parentd31e3f9ee6b36e707a189569132bcdcea79f20f6 (diff)
downloadfacter-7c80172fa79105c642f327c59b69f23be2153bb1.tar.gz
facter-7c80172fa79105c642f327c59b69f23be2153bb1.tar.xz
facter-7c80172fa79105c642f327c59b69f23be2153bb1.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
}