I\'m setting up a production RHEL 6 server with RVM and Passenger. I\'ve gotten through installing RVM (to my home dir), installing Passenger, and adding the required lines
$ sudo setenforce 0
helped me
hope it help others!
UPDATE
i have to say that above solution is temporal (until reboot)
so, as far as this answer has popularity let me show how to disable SELinux at all...
here it is:
run
$ sudo vi /etc/sysconfig/selinux
or
$ sudo vi /etc/selinux/config
then find this line
SELINUX=enforcing
and change it to
SELINUX=disabled
save selinux config.
now SELinux is fully disabled.
cheers
It turned out to have to do with SELinux.
The Passenger docs discuss it here.
After you install Passenger, find the Passenger root...
passenger-config --root
Then run this...
chcon -R -h -t httpd_sys_content_t /path-to-passenger-root