summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-11-16 21:45:30 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-11-16 21:45:30 +0000
commit5f5417aada66f65d9aeb924f64aebb28077286cf (patch)
treec3adbbd5cd2912a51d8ffae31cc86e8c10576b87 /bin
parentc369e4023eb391dbb95b8efa6fb19a2ecdfab709 (diff)
downloadpuppet-5f5417aada66f65d9aeb924f64aebb28077286cf.tar.gz
Fixing #347 (I hope). Doing a provisional require of rubygems.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1887 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin')
-rwxr-xr-xbin/puppetrun7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/puppetrun b/bin/puppetrun
index f2e1e1ddf..eca7d018a 100755
--- a/bin/puppetrun
+++ b/bin/puppetrun
@@ -119,6 +119,13 @@
exit(1)
end
end
+
+begin
+ require 'rubygems'
+rescue LoadError
+ # Nothing; we were just doing this just in case
+end
+
begin
require 'ldap'
rescue LoadError