I am getting ready to start hosting my own Ruby applications. I already have RVM installed on my production server. Now I would like to install Passenger.
I have Ruby 1.9.2 set as the default. I installed the passenger gem and ran
passenger-install-apache2-module. This displayed a list of missing dependencies, one of which being OpenSSL support for Ruby. It explained that I needed to re-install Ruby with OpenSSL support. I don't know how to do this and don't know why it is not there to begin with. Here is the list of other errors:
- GNU C++ compiler... not found
- Curl development headers with SSL support... not found
- OpenSSL development headers... not found
- Zlib development headers... not found
- Ruby development headers... found
- OpenSSL support for Ruby... not found
- RubyGems... found
- Rake... found at /usr/local/rvm/wrappers/ruby-1.9.2-p320/rake
- rack... found
- Apache 2... found at /usr/sbin/httpd
- Apache 2 development headers... not found
- Apache Portable Runtime (APR) development headers... not found
- Apache Portable Runtime Utility (APU) development headers... not found
It seems like many of these things should have already been available. Did I install RVM wrong? Is there an easier way to get Passenger up and running without installing a bunch of dependencies that I may never use later? What should I do?
Update: I forgot to mention this is a RedHat server hosted at Rackspace. I'm not sure if there is a Rackspace recommended way of doing this. I know they maintain their own list of trusted packages/repositories.