[Puppet Users] passenger with ruby enterprise edition

Asif Iqbal
Thu, 10 Sep 2009 01:27:48 -0000

Hi I am failing to start apache2 with ruby enterprise edition and
passenger 2.2.5

[Wed Sep 09 17:38:20 2009] [notice] Apache/2.2.11 (Ubuntu)
mod_ssl/2.2.11 OpenSSL/0.9.8g Phusion_Passenger/2.2.5 configured --
resuming normal operations
*** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner
(no such file to load -- puppet) (process 16544):
        from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
        from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require''
        from config.ru:8
        from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/builder.rb:29:in
`instance_eval''
        from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/builder.rb:29:in
`initialize''
        from config.ru:1:in `new''
        from config.ru:1
*** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner
(no such file to load -- puppet) (process 16544):
        from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
        from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require''
        from config.ru:8
        from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/builder.rb:29:in
`instance_eval''
        from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/builder.rb:29:in
`initialize''
        from config.ru:1:in `new''
        from config.ru:1


apache2.conf looks just fine

   LoadModule passenger_module
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/passenger-2.2.5/ext/apache2/mod_passenger.so
   PassengerRoot
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/passenger-2.2.5
   PassengerRuby /opt/ruby-enterprise-1.8.6-20090610/bin/ruby


But apache2 starts fine with ruby gem''s passenger 2.2.2 where
apache2.conf points to the ruby gem''s passenger

   LoadModule passenger_module
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/ext/apache2/mod_passenger.so
   PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.2
   PassengerRuby /usr/bin/ruby1.8


How do I get around it and start apache2 w/ REE''s passenger 2.2.5 ?

---
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?