Solved

cPanel + Ruby on Rails: Cannot get apps to Run

Posted on 2008-10-25
3
1,031 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best IDE for PHP starters 11 134
Change local server setting in php 6 96
Apache error.log 19 59
Redirect 301 from one address  to another 5 26
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

830 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