Mongrel issue when starting Ruby applications using Rails 3.0 [Case 43320]

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
It isn't Apache that's the issue here. It is mongrel. mod_rails supports rails 3+ so nginx doesn't have anything to do with the requirements here.

If you require Rails 3.0+, please post a feature request for mod_rails support, because that's the only way I see it happening. We are currently investigating mod_rails as an option internally, but the more interest in that option from our user base, the greater likelihood of adoption.

Our feature request forum is at the following location:

Feature Requests for cPanel and WHM
 

Brook

Well-Known Member
Apr 22, 2005
99
0
156
It isn't Apache that's the issue here. It is mongrel. mod_rails supports rails 3+ so nginx doesn't have anything to do with the requirements here.

If you require Rails 3.0+, please post a feature request for mod_rails support, because that's the only way I see it happening. We are currently investigating mod_rails as an option internally, but the more interest in that option from our user base, the greater likelihood of adoption.

Our feature request forum is at the following location:

Feature Requests for cPanel and WHM
...done :)
 

JamieD

Well-Known Member
Sep 3, 2003
58
0
156
Well we have been using mod_rails with cpanel even before mod_rails version 1 was out without any issues what so ever. It works fine if you install it manually yourself, it would be nice to see it integrated with cpanel though.

The major issue issue is with bundler and installing gems as it requires compiler access in order to install certain gems. We need to figure out a way to give temporary compiler access for bundler to run or to have a way to do it without giving the user compiler access.
 

JamieD

Well-Known Member
Sep 3, 2003
58
0
156
JamieD - Have you been running bundle install for your users then? Have you been using RVM at all? Any more tips?
Yes, we have been running bundle install for our clients, either as root then chowning the files to the user or by enabling compiler access then running bundle install as the user. We are trying to work out a way to temporarily enable compiler access for users while bundler is running but have not found a decent solution as yet.

We are not using RVM as at this point there is no advantage for us. When using passenger you can't run multiple versions of ruby. If rvm/passenger manage to come up with a solution to running multiple ruby versions we will most likely switch to rvm.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator

gorlaz

Registered
Apr 16, 2012
2
0
51
cPanel Access Level
Website Owner
Re: Mongrel issue when starting Ruby applications using Rails 3.0 [Case 433

+1 to needing a solution.

I can't believe there isn't an option for running Rails 3.2 let alone 3.0 yet.

This obviously can't be an important enough issue.

I'd love to stay with my current host who uses CPanel, however if this isn't addressed then I'll be moving to a different option (Heroku or a dedicated RoR host) which means my host won't get my business which means CPanel won't get their business.

Is this issue solely due to 3.0 not working with the CPanel interface and so things could be done manually 'under the hood'? Or does the issue preclude that sort of a fix?
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator

gorlaz

Registered
Apr 16, 2012
2
0
51
cPanel Access Level
Website Owner
Re: Mongrel issue when starting Ruby applications using Rails 3.0 [Case 433

Thanks Tristan, I couldn't see that link elsewhere.

Will give it a try.

Thanks
 

quietFinn

Well-Known Member
Feb 4, 2006
1,840
426
438
Finland
cPanel Access Level
Root Administrator

dylan.keys

Member
Oct 14, 2012
5
0
1
cPanel Access Level
Root Administrator
Re: Mongrel issue when starting Ruby applications using Rails 3.0 [Case 433

Since mongrel stable (mongrel | RubyGems.org | your community gem host which is 1.1.5) does not work with Rails 3+, we cannot provide any timeline for when Rails 3+ will be available to use, since we do not control when mongrel will release a version that supports Rails 3+
Would this still work with updated versions of rail and passenger? I have followed this guide, had no errors along the way but I just can't seem to access the public folders.

Cheers,