Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 28
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    50

    Default cPanel 11 and ruby on rails info?

    I noticed that one of the features listed on the cPanel 11 PDF is the ability to install ruby gems, no mention of ruby on rails support that I can see. I also noticed that ruby on rails support has been added according to one of the bug reports.

    Is there any more information available on the ruby on rails support that will come in cPanel 11 and if this will be part of the first stage of releases or the second?

    I would like to know things like

    How ruby on rails will be implemented, fastCGI, mongrel?

    Is there going to be any monitoring tools for it?

    I have to say that i am very pleased to see that cPanel 11 is going to support addon domains in any location in a users folder now, this is going to make things much better.

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I have discussed this issue internally and we have since updated our website to properly reflect the fact we are doing RoR support in cPanel 11. You can see the updated page at:

    http://www.cpanel.net/products/cPane...ntegration.htm

  3. #3
    Member
    Join Date
    Sep 2003
    Posts
    50

    Default

    Hi David,

    Thanks for the additional info. The link does not have any specifics as to how ruby on rails will be implemented, the reason I ask is that there are many different ways to run this and I was interested in how cPanel will set this up.

  4. #4
    Member
    Join Date
    Dec 2001
    Posts
    746

    Default

    Quote Originally Posted by JamieD View Post
    I noticed that one of the features listed on the cPanel 11 PDF is the ability to install ruby gems, no mention of ruby on rails support that I can see. I also noticed that ruby on rails support has been added according to one of the bug reports.

    Is there any more information available on the ruby on rails support that will come in cPanel 11 and if this will be part of the first stage of releases or the second?

    I would like to know things like

    How ruby on rails will be implemented, fastCGI, mongrel?
    The latest versions of Ruby and Rails are installed, along with Mongrel.

    Is there going to be any monitoring tools for it?
    I'm not sure what you mean here, can you elaborate. Thanks

  5. #5
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by JamieD View Post
    Hi David,

    Thanks for the additional info. The link does not have any specifics as to how ruby on rails will be implemented, the reason I ask is that there are many different ways to run this and I was interested in how cPanel will set this up.
    mongrel gets installed as part of this.

  6. #6
    Member
    Join Date
    Sep 2003
    Posts
    50

    Default

    I downloaded the latest edge build to a development server, ran /scripts/installruby and it looks like you have missed off installing the rails gem as part of the process. Was this intentional to let you choose which version of rails is installed of it this on oversight?

    After ruby on rails has been installed are there any cPanel features that will let customers setup domains to run rails applications or will this all have to be done manually?

    I am currently running rails on cPanel 10 in production and I have to do all the configuration outside of cPanel/WHM. I wanted to know if there is any new features, either now or planed, that will allow mongrel process management from within cPanel?

    By monitoring I was referring to mongrel process monitoring, as these are designed to run as a daemon is there any scope for monitoring these processes and restarting as needed, the same way apache, exim etc.. are monitored?

    Thanks

  7. #7
    Member
    Join Date
    Apr 2005
    Posts
    154

    Default

    Two questions from me....

    Can Ruby on Rails be used without needing to give clients shell access? We have so many customers asking for it (but we don't want to have to give anyone shell access to the server).

    And when will cPanel 11 be available in production mode?

    Thanks!
    BX

  8. #8
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by JamieD View Post
    I downloaded the latest edge build to a development server, ran /scripts/installruby and it looks like you have missed off installing the rails gem as part of the process. Was this intentional to let you choose which version of rails is installed of it this on oversight?

    After ruby on rails has been installed are there any cPanel features that will let customers setup domains to run rails applications or will this all have to be done manually?
    Currently it only installs ruby, and make the module installer available in whm and cpanel.
    You'll have to choose between mongrel/fastcgi on your own.



    I am currently running rails on cPanel 10 in production and I have to do all the configuration outside of cPanel/WHM. I wanted to know if there is any new features, either now or planed, that will allow mongrel process management from within cPanel?

    By monitoring I was referring to mongrel process monitoring, as these are designed to run as a daemon is there any scope for monitoring these processes and restarting as needed, the same way apache, exim etc.. are monitored?

    Thanks

  9. #9
    Member
    Join Date
    Sep 2003
    Posts
    50

    Default

    Thanks for the info nick.

    Quote Originally Posted by BraveX View Post
    Can Ruby on Rails be used without needing to give clients shell access? We have so many customers asking for it (but we don't want to have to give anyone shell access to the server).
    BX
    You can but it's pointless, a lot, and I mean a lot, of the power of rails is accessed through shell commands. Why are you worried about giving out shell access, your system should be secured so you don't really have anything to worry about by giving out shell accounts.

  10. #10
    Member ukhost4u's Avatar
    Join Date
    Apr 2003
    Posts
    37

    Default

    Is there currently any documentation to using this feature. I have installed it and I can see its supported under Module Installers but as I have never setup a ROR site before is there anything else we need to do?

  11. #11
    Member
    Join Date
    Dec 2001
    Posts
    746

    Default

    Quote Originally Posted by ukhost4u View Post
    Is there currently any documentation to using this feature. I have installed it and I can see its supported under Module Installers but as I have never setup a ROR site before is there anything else we need to do?
    The usage depends on the RoR application being used. Think of it like installing a PHP app or a Perl app, they all need different modules and configuration settings (php) based on the code of the application. Here's more info about RoR coding but the specific application's requirements will dictate the necessary setup.

    http://api.rubyonrails.org/

  12. #12
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2002
    Location
    Atlanta, GA
    Posts
    95

    Default

    Quote Originally Posted by cpanelnick View Post
    Currently it only installs ruby, and make the module installer available in whm and cpanel.
    You'll have to choose between mongrel/fastcgi on your own.
    Why is mod_fastcgi/mod_fcgid not an install option in EasyApache? It would make the setup of RoR a *lot* easier for many people.

  13. #13
    Member
    Join Date
    Aug 2006
    Posts
    196
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by timdorr View Post
    Why is mod_fastcgi/mod_fcgid not an install option in EasyApache? It would make the setup of RoR a *lot* easier for many people.
    The new easyapache3 is still under development.

  14. #14
    Registered User
    Join Date
    May 2007
    Posts
    1

    Default

    Will there be any way for clients to stop / start a mongrel server via WHM?

    Are you going to force them to log in via SSH and manually run mongrel_rails / mongrel?

    Will WHM/Cpanel setup proxypass directives in the apache config?
    Will it setup a 502 default error message?

    How are you going to start up all these mongrel servers after a reboot, @reboot entries in a users crontab??

    Some more technical details for those who want to know would be good.

  15. #15
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jan 2006
    Posts
    654

    Default

    Its a bit of a mystery.

    I ran /scripts/installruby and it all went well.

    I then logged into whm and clicked on the "module installers" section - then on the ruby link.

    I got a page with the title "Ruby Gem Magic User Loader"

    The Magic User Loader modifies the system copy of ruby so that users will be able to include modules that they install without having to modify their scripts.
    Status: disabled

    I clicked the "enable" button and waited for the magic to happen!

    It said....

    New Language Status: Enable


    Configuring ruby magic....Install Failed
    On


    I clicked the "go back" link.

    It still says Status: disabled

    Any ideas ?

Similar Threads & Tags
Similar threads

  1. Ruby on Rails with Apache in cPanel?
    By ee99ee in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-10-2010, 11:10 AM
  2. Replies: 9
    Last Post: 11-23-2009, 08:46 PM
  3. Ruby on Rails Icon in cPanel?
    By geekstarpilot in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-25-2008, 10:06 AM
  4. Ruby on Rails in Cpanel 11
    By kinsky in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 08-22-2007, 08:28 AM
  5. Replies: 0
    Last Post: 05-12-2006, 04:00 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube