FooBarWidget/passenger — pull request #71 by id774 (2013-02-20 05:09:08+00:00)
Title: passenger-install-apache2-module doesn't work on ruby 2.0

Now passenger-install-apache2-module failed on ruby 2.0

--------------------------------------------

Checking for required software...

* GNU C++ compiler... found at /usr/bin/g++
* Curl development headers with SSL support... found
* OpenSSL development headers... found
* Zlib development headers... found
* Ruby development headers... found
* OpenSSL support for Ruby... found
* RubyGems... found
* Rake... found at /opt/ruby/2.0/bin/rake
* rack... found
* Apache 2... found at /usr/sbin/apache2
* Apache 2 development headers... found at /usr/bin/apxs2
* Apache Portable Runtime (APR) development headers... found at /usr/bin/apr-1-config
* Apache Portable Runtime Utility (APU) development headers... found at /usr/bin/apu-1-config

--------------------------------------------
Compiling and installing Apache 2 module...
cd /opt/ruby/2.0/lib/ruby/gems/2.0.0/gems/passenger-3.0.19
/opt/ruby/2.0/bin/ruby /opt/ruby/2.0/bin/rake apache2:clean apache2 RELEASE=yes
# /opt/ruby/2.0/bin/ruby /opt/ruby/2.0/bin/rake apache2:clean apache2 RELEASE=yes
rake aborted!
cannot load such file -- rubygems/builder

(See full trace by running task with --trace)

--------------------------------------------

It looks like something went wrong

This patch will fix this issue.
So, passenger will well done on ruby 1.9 and 2.0.