Solved

cPanel + Ruby on Rails: Cannot get apps to Run

Posted on 2008-10-25
3
1,034 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differ…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

624 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