This is mini-overlay for native (ebuild) install latest version of Ruby Enterprise Edition and nginx with passenger on Gentoo Linux.
Uniq feature? :)
Added patchset to passenger and fully removed from him 'X-Powered-By:' header and changing 'Server:' to be simply 'nginx'. Before all this header 'X-Powered-By:' always be 'Phusion Passenger (mod_rails/mod_rack) 2.2.9' and header 'Server:' be 'nginx/0.7.64 + Phusion Passenger 2.2.9 (mod_rails/mod_rack)' even if server token will be off.
Add in to make.conf local overlay (if doesn't exist) echo "PORTDIR_OVERLAY=\"/usr/local/portage\"" | sudo tee -a /etc/make.conf
Clone the git repo sudo git clone git://github.com/Deep-Ocean/ree-nginx-passenger-ebuild.git /usr/local/portage
Check use flags and fetch sources (if not - change use flags, add keyword unmask to /etc/portage/package.keywords) sudo emerge -fpv ruby-enterprise nginx www-misc/passenger
If all ok - merge sudo emerge ruby-enterprise nginx www-misc/passenger
Select needs profile sudo eselect ruby set rubyee
Are you happy? I - yes.
p.s. Sorry for my bad english.