Bug #3197
closedpassenger-status does not work.
Description
Installed RPM: rubygem-passenger-4.0.5-3.el6.x86_64
on RHEL6.4, using the foreman installer.
Running: passenger-status produces the following error:
/usr/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:324:in `search': stack level too deep (SystemStackError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:323:in `select'
from /usr/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:323:in `search'
from /usr/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:280:in `find_name'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:213:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1082:in `gem'
from /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/bin/passenger-status:18
from /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/bin/passenger-status:19:in `load'
from /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/bin/passenger-status:19
... 3524 levels...
from /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/bin/passenger-status:19:in `load'
from /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/bin/passenger-status:19
from /usr/bin/passenger-status:19:in `load'
from /usr/bin/passenger-status:19
It can be fixed by running: gem update passenger
Updating installed gems
Updating passenger
Building native extensions. This could take a while...
Successfully installed passenger-4.0.19
Gems updated: passenger
Installing ri documentation for passenger-4.0.19...
Installing RDoc documentation for passenger-4.0.19...
[root@configmgmt SPECS]# passenger-status
Version : 4.0.19
Date : Fri Oct 04 12:42:21 +1300 2013
Instance: 3426
----------- General information -----------
Max pool size : 12
Processes : 0
Requests in top-level queue : 0
----------- Application groups -----------
I had a go at rebuilding the rubygem-passenger SRPM to use 4.0.19 passenger sources. After successfully
rebuilding the RPM, the new version installed by did the same thing as 4.0.5. Therefor, I think it's not
version specific, but something in the way the RPM builds passenger.
The RPM spec file for passenger 4.0.19 is attached, as the was a few changes required.
Files