From 7c80172fa79105c642f327c59b69f23be2153bb1 Mon Sep 17 00:00:00 2001 From: Ben Hughes Date: Tue, 29 Mar 2011 13:38:44 +1100 Subject: (#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. --- install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit