View Full Version : Start Rails Application
I have created a rails application from control panel and it also did list on the 'Available Ruby on Rails Applications'.
when i tried to run the application the message came,
"The following Ruby on Rails application was started: test"
but when i went back to the previous page and take 'URL', i can't get the default welcome page of ruby on rails.Also the status of the application was change to "NOT RUNNING".
Can somebody help me?
Thanks in advance,
I have open a ticket in this exact subject. It seems, according to Blue Host help desk, that you can not run Rails unless you purchase a dedicated ip.
The behaviour you describe is due to the fact that rails applications are made available on high ports (like domain:12002), and these ports are closed if you are on a shared ip, which is the default mode when you open an account with Blue Host.
If you have found a workarround please share it!
I think you might be mistaken. You can run Rails apps through CGI and FastCGI without issue (or a dedicated IP). CPanel's RoR control panel widget launches Mongrel instances on port (the only way it is done). In my opinion, there isn't much sense in even bothering with running Rails apps through Mongrel if you can't start up a cluster and proxy backwards (round-robin or whatever your configuration) with mod_proxy on port 80. Bluehost doesn't currently run mod_proxy because of its troubled exploit/ patch history. FastCGI is reasonably fast (especially if you have your application running in production mode) and starts up/ shuts down processes as needed. I personally run apps through FastCGI and don't have any serious complaints.
Many Thanks, for your advice, Cade. I believe that the information available at Bluehost does not state clearly that there are two ways of setting up RoR:
1. FastCGI (which i guess require manual configuration)
2. Mongrel instances (available as an utility at the cpanel)
I guess that, in order to use Apache FastCGI I'll need to edit the apache configuration files to use fast-cgi module, point to the appropiate app directory and use the ruby interpreter. Is there any guide available that I can follow?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.