# Ruby on Rails on shared host

**URL:** <https://www.ruby-forum.com/t/ruby-on-rails-on-shared-host/149921>\
**Category:** Rails\
**Created:** [October 1, 2008, 7:35am UTC](https://www.ruby-forum.com/t/ruby-on-rails-on-shared-host/149921 "2008-10-01T07:35:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tkbeili](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7bcc69/32.png) [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Post date:** [October 1, 2008, 7:35am UTC](https://www.ruby-forum.com/t/ruby-on-rails-on-shared-host/149921/1 "2008-10-01T07:35:18Z")

</div>

Hello,

I built a web app using Ruby on Rails and it’s working perfectly on  
local host but once I move it to production I get this error message:  
Application error  
Rails application failed to start properly

I tried to turn environment.rb RAILS\_ENV to “development” but still  
didn’t get any useful log or error messages!

The thing is that I know the shared host Fast CGI rails is working  
because I’m using Redmine (Ruby on Rail project management tool) on the  
shared host and it’s working perfectly. I’m doing the same for my  
application but I’m getting that error!

I wish you can tell me how I can start debugging or where to start to  
get better error message so I can proceed.

Thanks,

Tam

---

<div class="post-metadata">

**Author:** ![tkbeili](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7bcc69/32.png) [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Post date:** [October 1, 2008, 5:55pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-on-shared-host/149921/2 "2008-10-01T17:55:00Z")

</div>

> I wish you can tell me how I can start debugging or where to start to  
> get better error message so I can proceed.  
> apache error log, rails log/\* [error, production]

---

<div class="post-metadata">

**Author:** ![tkbeili](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7bcc69/32.png) [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Post date:** [October 2, 2008, 12:38am UTC](https://www.ruby-forum.com/t/ruby-on-rails-on-shared-host/149921/3 "2008-10-02T00:38:09Z")

</div>

Checkout the cpanel error logs.

Ramon T.

On Wed, Oct 1, 2008 at 1:35 PM, Tam K.

---

<div class="post-metadata">

**Author:** ![tkbeili](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7bcc69/32.png) [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Post date:** [October 2, 2008, 1:24am UTC](https://www.ruby-forum.com/t/ruby-on-rails-on-shared-host/149921/4 "2008-10-02T01:24:48Z")

</div>

Ramon T. wrote:

> apache error log, rails log/\* [error, production]  
> Checkout the cpanel error logs.

Thanks for you suggestions. Rails log is empty! production.log and  
development.log are empty!  
I also checked CPanel logs (AWStat, Error log, Raw Access log…etc)  
there wasn’t anything help there ☹

I couldn’t find Apache log. Do you know where to find it? is it same  
place as .htaccess file?

---

<div class="post-metadata">

**Author:** ![tkbeili](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7bcc69/32.png) [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Post date:** [October 2, 2008, 1:31am UTC](https://www.ruby-forum.com/t/ruby-on-rails-on-shared-host/149921/5 "2008-10-02T01:31:23Z")

</div>

Try contacting your host as well 🙂 This is often host specific.  
Ramon T.

On Thu, Oct 2, 2008 at 7:24 AM, Tam K.

---

<div class="post-metadata">

**Author:** ![tkbeili](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7bcc69/32.png) [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Post date:** [October 3, 2008, 7:59pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-on-shared-host/149921/6 "2008-10-03T19:59:41Z")

</div>

sorry this 2 last messages i post in topic wrong ^^

---

<div class="post-metadata">

**Author:** ![tkbeili](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7bcc69/32.png) [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Post date:** [October 3, 2008, 6:37pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-on-shared-host/149921/7 "2008-10-03T18:37:18Z")

</div>

Ramon T. wrote:

> Try contacting your host as well 🙂 This is often host specific.  
> Ramon T.

Thanks Ramon and Roger, I finally got that 🙂  
I made a bit of progress by making the HTML static contents work 😃

Ruby code doesn’t work for some reason. It’s currently using cgi (As per  
.htaccess file). I’m getting the same message as before when trying to  
access the Ruby on Rails content.

Is there away to check dispatch.cgi error log??

Thanks,

Tam
