PDA

View Full Version : RoR control screen



Chuck
01-27-2008, 10:54 AM
I just noticed a new RoR application control screen. I cannot figure out what it is supposed to do, and nothing on it seems to work. Does anyone know anything about planned changes to RoR or support? Will applications have to be changed?

I created a little application to try to make the screen work, but in particular the managed redirects do not work at all.

It seems nice that we will be able to start and stop our applications (which I assume is the reason why we are given individual ports. My guess is it is because the applications were moved out of development mode, as I cannot seem to make changes to my code either), but I cannot get anything to work.

Can someone give me information on this controller? Is it new? How do I get it to work?

r2b2
01-27-2008, 01:35 PM
Ummm I'm not sure which control screen you are talking about. Can you provide a bit more information about where it is etc.?

Chuck
01-27-2008, 05:48 PM
Sorry, I really was unclear.

On the Control Panel (CPanel 11), under Software/Services, it is the "Ruby on Rails" option. When you select this option you get to the screen titled "Manage Ruby On Rails Applications". I believe this is a new option on the CPanel, but I will not swear to it. But it simply does not appear to do anything, and I am really wondering what it is going to do, and how it will affect my application.

I will say what I think this does. If you run Ruby on Rails in production, if make changes in your programs they are not reflected until the server is reloaded. However if you run in development mode, you are wasting a lot of resources. But since you could never restart the server, you almost had to use development mode.

My guess is that this is to allow a ruby-on-rails application to restart the server for that application. Thus you can restart your application after making changes in production, and have them take affect. (This is a guess, I can find nothing documenting what is going on here).

The entire application just appears not to work. I have tried the "run" button on an application, but the application still reads "not running". There is also a "manage rewrites" option that appears to not work also. The application always runs fine so long as you use the default http port. But if you use the redirected port, there appears to be no listener.

I just would like to know what this management option is supposed to do, and if it is not live, when it will go live.

jrguitar21
05-23-2008, 02:53 PM
old thread, i know... but I also couldn't find any documentation, KB article or forum information (besides this) regarding this cPanel feature.

I tried to "test" it a little to create an application from the web panel and setup a rewrite... but the url it provided (something at my default domain in the port 12000 range) never resolved. I asked support during a live chat session about why it didnt work and his response was that to use that port you need a "dedicated ip" (static ip i suppose). Thus, at this point in time, its useless to administer apps on basic shared hosting.


Which still begs the question how does the shared hosting know to reload your app if its in production mode (the default)? or does using FastCGI inherently mean the app doesn't need to be reloaded into memory???