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 <[email protected]>
---
 ext/rack/files/config.ru |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/rack/files/config.ru b/ext/rack/files/config.ru
index 5607bab..5f0834a 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'
-- 
1.6.3.3


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to