Any updates on ROR3 & cPanel guys?
Will it be possible to use Passenger instead of Mongrel?
These guys seem to have got it working ok with cPanel: Jetpack Flight Log » Install Phusion Passenger (a.k.a. mod_rails) on cPanel Server
Any updates on ROR3 & cPanel guys?
Will it be possible to use Passenger instead of Mongrel?
These guys seem to have got it working ok with cPanel: Jetpack Flight Log » Install Phusion Passenger (a.k.a. mod_rails) on cPanel Server
There are no current plans yet to support Rails 3+ due to the mongrel issues with that version. Mongrel still has issues working with Rails 2.3.8 actually for properly passing cookies and headers.
I do agree it would be helpful to consider mod_rails with passenger over mongrel, but that's simply my opinion and not any official recommendation from cPanel itself![]()
cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
-- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support
Submit a ticket | Check an existing ticket
Hi Is there any update on when rails 3 will be supported?
Thanks
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+
Unfortunately, so long as we are using mongrel for our environment and so long as mongrel doesn't support Rails 3+, Rails 3+ will not be usable in cPanel. The latest supported version that works with mongrel is Rails 2.3.8 at this time.
cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
-- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support
Submit a ticket | Check an existing ticket
It sounds like the next and completely obvious question is - why don't you change the 'environment'? Maybe I'm missing something, I'm NOT a ubergeek when it comes to linux servers, but can't you change that out for something else? nginx? something?
Rails/ruby is RAPIDLY gaining popularity. As you can see from how many people care about being able to host it.
We are going to lose all our hosting business to heroku.
Okay guys - when will the environment be changed then? We need a rails 3 solution ASAP
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
cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
-- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support
Submit a ticket | Check an existing ticket
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 - 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.
On the mod_rails front, we do have mod_rails in planning for cPanel 11.34 as a project.
Whenever we have more details, we'll post them to the feature request at http://forums.cpanel.net/f145/case-4...rt-152577.html
cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
-- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support
Submit a ticket | Check an existing ticket
+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 by gorlaz; 04-16-2012 at 09:17 PM. Reason: forgot to subscribe
I wrote a guide awhile back about installing mod_rails and Rails 3 using cPanel:
Installing mod_rails and Rails 3.0.9 on a cPanel machine - cPanel & WHM Admin Blog
It is a customization, but it can work. You simply wouldn't be able to use the cPanel GUI interface to generate applications and would have to use the backend.
cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
-- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support
Submit a ticket | Check an existing ticket
Thanks Tristan, I couldn't see that link elsewhere.
Will give it a try.
Thanks