Solved

cPanel + Ruby on Rails: Cannot get apps to Run

Posted on 2008-10-25
3
1,025 Views
Last Modified: 2013-12-06
I'm having some problems with cpanel + Ruby on Rails on CentOS4.3-32.

Whenever I set up a RoR app through cpanel , and then click "Run", it gives me the message:
Start Ruby Application

The following Ruby on Rails application was started: "app name"


However, when I go back to the overview page, it says the app status is "not running". The URL (domainname:12001) is not working either.

When I log into the server, all logs seem to be empty , I can get the app to start (on port 3000) through "mongrel_rails start -d" , however, I'd prefer to start it through cpanel.

Thanks in advance!
0
Comment
Question by:GertoWS
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Andrew Doades earned 500 total points
ID: 22839601
I had the same problem, but although it said it was not running in cPanel. my app was.

Don;t forget that you need to create a rewrite in the section under adding the app, you will never get in via the address  domainname:12001

You will also need to do rake db:migrate too, this got me to start with.
0
 

Author Comment

by:GertoWS
ID: 22978027
I've set it up without cpanel for now.

Thanks for the help anyway :)
0
 

Author Closing Comment

by:GertoWS
ID: 31509990
Thanks :)
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now