Hey guys,
I was trying to get rails to work through cPanel on Centos 5 and as many of you, I have encountered problems too.
Here's what made it work for me (run as root):
1) First remove all gems
2) Now run cPanel's Ruby installation scriptCode:gem uninstall rails gem uninstall mongrel gem uninstalled fastthread
3) Now second command as required by cPanelCode:/scripts/installruby
4) It seems cPanel's "fast head" forgets to install, fast ThreadCode:/usr/local/cpanel/bin/ror_setup
5) App's don't run still? - The issue in my case was outdated GEM! Mongrel did not want to run with the old version. So run:Code:gem install fastthread
6) Restart cPanel (not required but I like to do it)Code:gem update --system
And there you have it. Works like a charm on my Centos 5Code:/etc/init.d/cpanel restart![]()



LinkBack URL
About LinkBacks
Reply With Quote





