Installing Phusion passenger takes two simple steps, but hot always. Especially when you are new to some distro or some conception. You may have some disconfiguration in the system and fixing the dependencies may take a lot of time. That’s why I am posting this. I was playing with CentOS and installing Passenger after I installed the gem with
gem install passenger
I ran the script to install the module for my apache configuration
passenger-install-apache2-module
This fail with the step “Curl development headers with SSL support” – the header failes for curl development pachage was missing. After an hour searching on the internet I found the solution for me – there is a config file for yum package manager in CentOS, located at
/etc/yum.config
There is a directive exclude where are included packages for skipping when you run install or update with yum. There was libcurl* which skipped the package libcurl-devel.
Other materials you can read to educate yourself a bit on the topic:
- Install RedMine tutorial
- Check the answers here
- A nice place where you can find rpm packages
- More info about the exclude directive in yum.conf file