From 08ff9e84de18e9b1db69c73ea3e49b90fe5fd7c0 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Wed, 29 Jul 2009 23:08:44 +0200 Subject: Fix #2467 - rack: suggest putting puppet/lib at beginning of RUBYLIB search path If you happen to already have puppet code somewhere in your ruby path, you might get unexpected behaviour when trying to run puppetmaster with passenger. Suggesting that the path to puppet/lib gets prepended instead of appended to RUBYLIB could save time to some. Signed-off-by: Marc Fournier --- ext/rack/files/config.ru | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/rack/files/config.ru b/ext/rack/files/config.ru index 5607bab72..5f0834a7d 100644 --- a/ext/rack/files/config.ru +++ b/ext/rack/files/config.ru @@ -2,7 +2,7 @@ # SSL needs to be handled outside this, though. # if puppet is not in your RUBYLIB: -# $:.push('/opt/puppet/lib') +# $:.unshift('/opt/puppet/lib') $0 = "puppetmasterd" require 'puppet' -- cgit