Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Linux VPS Support

Notices

Reply
 
Thread Tools
  #1  
Old 03-11-2011, 02:34 PM
eagoweb eagoweb is offline
Hatchling Croc
 
Join Date: Jun 2007
Posts: 3
Thumbs up RubyOnRails with Passenger solution it Works!

Hello you all,

For everyone with root access in a hostgator server, i decided to show this link i found and after a week dealing with support i found a great solution for integrating passenger.

1 - I installed ruby enterprise
2 - Execute the passenger-install-apache2-module
3 - I paste the first lines in the pre_virtual_host_global.conf, it can be located in the WHM, Main->Service Configuration->Include Editor.

4 - Add the following to the httpd.conf (passenger docs):
PassengerResolveSymlinksInDocumentRoot on
5 - Run the httpd.conf config distiller to save these changes:
root@host:[~]$ /usr/local/cpanel/bin/apache_conf_distiller --update
Distilled successfully

6 - Then rebuild the httpd.conf using the cPanel rebuild script. Stop and correct any errors before restarting Apache:
root@host:[~]$ /scripts/rebuildhttpdconf
you should see: Built /usr/local/apache/conf/httpd.conf OK

7 - Restart Apache and verify Passenger is installed by running this command:

root@host:[~]$ apachectl -t -D DUMP_MODULES

8 - Here i add to restart apache in the WHM this is under Main-> Restart Services -> Apache

Done!

It worked for me hope it do the same for you.

Here i left the link from where i found the solution:

http://www.tylerdave.com/2009/10/12/...panel-systems/
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passenger for Ruby apps 2011. Have you tested it out yet? tripdragon Suggestions 2 03-11-2011 03:00 PM
Passenger For Ruby on Rails (mod_rails) Harro Suggestions 15 03-11-2011 03:00 PM
Help Installing RubyOnRails Application evilemp1re Shared Hosting Support 0 06-09-2010 02:18 AM
Everything Still Works! macknox Customer Reviews 0 04-30-2008 02:50 PM

All times are GMT -5. The time now is 01:23 AM.