Thanks Eric. I am using passenger 3.0.5. If I can't make any progress,
I will try the earlier version as you mention below. Right now I am
getting this error in my apache error log

[ pid=30770 thr=23604993726420 file=utils.rb:176 time=2011-03-21
19:14:13.870 ]: *** Exception LoadError in
PhusionPassenger::Rack::ApplicationSpawner (no such file to load --
puppet/network/http_server/rack) (process 30770, thread #<Thread:
0x2aefee882fa8>):
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
        from config.ru:6
        from /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/
builder.rb:46:in `instance_eval'
        from /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/
builder.rb:46:in `initialize'
        from config.ru:1:in `new'
        from config.ru:1

And my clients are complaining that "Ruby (Rack) application could not
be started"

Any ideas?

On Mar 21, 8:12 am, Eric Stonfer <eston...@gmail.com> wrote:
> Hi, I've had good luck mirroring this repository it includes a passenger
> rubygem RPM with a precompiled mod_passenger.
>
> http://yum.puppetlabs.com/prosvc/5/x86_64/
>
> rpm -ql rubygem-passenger | grep so$
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/ext/phusion_passenger/native_support.so
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/lib/native_support.so
>
> Thanks
> Eric
>
> On Sat, Mar 19, 2011 at 5:32 PM, rjl <rjlin...@gmail.com> wrote:
> > Hi all,
> > I am having a very difficult time getting passenger installed and
> > configured with puppet. I have puppet installed and working fine but
> > it is using webrick. I have followed the documentation here (http://
> > projects.puppetlabs.com/projects/puppet/wiki/Using_Passenger) with no
> > success.
>
> > I need to be able to install this without compiling on the puppet
> > master. From what I have been able to gather, installing these rpms
> > should give me that capability:
>
> > rubygem-file-tail-1.0.5-1.noarch.rpm
> > rubygem-rake-0.8.7-2.el5.noarch.rpm
> > mod_passenger-3.0.5-1.el5.x86_64.rpm
> > rubygem-passenger-3.0.5-1.el5.x86_64.rpm
> > rubygem-spruz-0.2.2-1.noarch.rpm
> > rubygem-daemon_controller-0.2.5-1.noarch.rpm
> > rubygem-passenger-native-3.0.5-1.el5.x86_64.rpm
> > rubygem-fastthread-1.0.7-1.el5.x86_64.rpm
> > rubygem-rack-1.1.0-2.el5.noarch.rpm
>
> > However, apache is giving me errors such as
> > # mkdir -p /usr/lib/ruby/gems/1.8/gems/passenger-3.0.5/ext/ruby/native
> > # cd /usr/lib/ruby/gems/1.8/gems/passenger-3.0.5/ext/ruby/native
> > # /usr/bin/ruby '/usr/lib/ruby/gems/1.8/gems/passenger-3.0.5/ext/ruby/
> > extconf.rb'
> > # make
> > make: gcc: Command not found
> > make: *** [passenger_native_support.o] Error 127
> > /usr/lib/ruby/gems/1.8/gems/passenger-3.0.5/lib/phusion_passenger/
> > native_support.rb:124:in `sh': Could not compile
> > passenger_native_support.so ('make' failed) (RuntimeError)
>
> > Obviously, it is looking for a compiler.
>
> > I am completely lost on how to get this working. Any assistance would
> > be greatly appreciated.
>
> > I am running these which I downloaded from here :
> >http://people.fedoraproject.org/~tmz/repo/puppet/epel/5Server/x86_64/
>
> > puppet-2.6.6-0.3.el5 (on master and hosts)
> > puppet-server-2.6.6-0.3.el5 (on master only)
>
> > Any assistance getting me on the right track would be greatly
> > appreciated.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Puppet Users" group.
> > To post to this group, send email to puppet-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > puppet-users+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/puppet-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to