|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jan 2008
10 posts
Gave thanks: 2
Thanked 0 times
|
Ruby on Rails on shared hosting
I tried to create a new ruby application on my shared hosting plan in cpanel.
I click the ruby on rails icon. Then i create an application and a rewrite but whenever I click "Run" it says the application has started and then I come back to the Ruby page and it says that the application is not started. I try to browse to the URL of the rewrite and I get: "Proxy Error The proxy server received an invalid response from an upstream server." Any Ideas? |
|
|
|
|
|
#2 (permalink) |
|
after g, before i
Resident.
Joined in Jul 2004
Lives in N,BC,CA
8,092 posts
Gave thanks: 48
Thanked 131 times
|
Unless they're using mod_rails (Overview — Phusion Passenger (a.k.a. mod_rails / mod_rack)), litespeed or a mongrel like system, it's honestly not worth using. If it's baked into CPanel, it's probably a slow as hell CGI interface that will die under a couple users.
|
|
|
|
| This user thanks H for this great post! | hotstyle765 (July 30th, 2008) |
|
|
#4 (permalink) |
|
after g, before i
Resident.
Joined in Jul 2004
Lives in N,BC,CA
8,092 posts
Gave thanks: 48
Thanked 131 times
|
If you're just trying it out or whatever -- it'll be more than fine. But you're best off experimenting on a local system.
I've been told recently that they're working on improving their Rails implementation (I'm hoping mod_ruby for a number of reasons), so depending on that timeline, it could be worth sticking out with the CGI for now. You're really going to best off contact support -- regarding both the problem you had with proxy error and future Rails support. Note: the reason I suggest going the route of mod_rails is that it's super easy to toss into Apache and you won't have to allocate mongrel ports to thousands of accounts -- nor implement a container system. The only trick after that is gems... |
|
|
|
|
|
#5 (permalink) | |
|
Registered User
Fresh Surpasser
Joined in Jan 2008
10 posts
Gave thanks: 2
Thanked 0 times
|
Quote:
H: have you seen this? Ruby Notes - Surpass Hosting Wiki Looks like they are using mod_ruby a.k.a. mod_rails. I hope i dont need a webdev account though |
|
|
|
|
|
|
#6 (permalink) |
|
after g, before i
Resident.
Joined in Jul 2004
Lives in N,BC,CA
8,092 posts
Gave thanks: 48
Thanked 131 times
|
I'm almost positive that's not the mod_ruby I'm referring to (which is actually called Phusion Passenger). The mod_ruby I think they mention there is a really basic, outdated one.
|
|
|
|