Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 15 of 51
  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    11

    Default mod_rails (passenger) Instead of mongrel + Rails 3 support [Case 44197]

    Would love to see mod_rails officially supported, replacing the current implementation of mongrel.

  2. #2
    Member
    Join Date
    Feb 2006
    Location
    Seattle, Washington, United States
    Posts
    17

    Default Me too!

    Especially since passenger could support the much simpler Sinatra framework in addition to Rails.

  3. #3
    Registered User
    Join Date
    Mar 2011
    Posts
    3

    Default re: [Case 44197] mod_rails (passenger) Instead of mongrel + Rails 3 support

    I desperately need mod_rails, I'm losing business to heroku.

    If you see how fast heroku is growing, you can easily see how big this market is.

    PLEASE!

  4. #4
    Member
    Join Date
    Apr 2005
    Posts
    99

    Default Mod_rails for ROR3 please

    We have been using cPanel on our servers for several years - but we are moving all of our sites over to ROR3, which is not yet supported by cPanel. Unfortunately that means our next server will not be using cPanel, and our old servers will be decommissioned.

    We don't want to say goodbye to cPanel (!) so would be grateful if you could add ROR3 support as soon as is feasibly possible

  5. #5
    Member
    Join Date
    Apr 2005
    Posts
    99

    Default Re: Me too!

    Quote Originally Posted by ivanoats View Post
    Especially since passenger could support the much simpler Sinatra framework in addition to Rails.
    That's definitely a huge plus point.

  6. #6
    Member
    Join Date
    Feb 2006
    Location
    Seattle, Washington, United States
    Posts
    17

    Default re: [Case 44197] mod_rails (passenger) Instead of mongrel + Rails 3 support

    8 months later... any progress on this?

  7. #7
    Member
    Join Date
    Apr 2005
    Posts
    99

    Default re: [Case 44197] mod_rails (passenger) Instead of mongrel + Rails 3 support

    Quote Originally Posted by ivanoats View Post
    8 months later... any progress on this?
    Just this:

    Quote Originally Posted by cPanelTristan View Post
    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.

  8. #8
    Member
    Join Date
    Feb 2006
    Location
    Seattle, Washington, United States
    Posts
    17

    Default re: [Case 44197] mod_rails (passenger) Instead of mongrel + Rails 3 support

    ARRRRGHHHH! I spent the afternoon upgrading a rails app from 2.3.5 to 2.3.11 only to discover Mongrel is not compatible with any rails after 2.3.7 ( Friendly warning: Mongrel doesn't work with rails 2.3.8 ) Had to downgrade the app back to 2.3.5 to get it working. Thank god for git.

    cPanel, you really need to get going on passenger support. Rails 3.1 is right around the corner. It's almost a joke to say that cPanel supports rails because it's so far behind the current version.

  9. #9
    Registered User
    Join Date
    Mar 2011
    Posts
    1

    Default re: [Case 44197] mod_rails (passenger) Instead of mongrel + Rails 3 support

    This is an excellent idea, we need rails 3 support!

  10. #10
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,291
    cPanel/Enkompass Access Level

    Root Administrator

    Default re: [Case 44197] mod_rails (passenger) Instead of mongrel + Rails 3 support

    You can get Mongrel to work with Rails 2.3.8 and 2.3.11 if you add the following to /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/cgi.rb file:

    Code:
    @head['cookie'] = options['cookie'] if options['cookie']
    options.delete('cookie')
    You'd place the above two lines immediately before this line in that file:

    Code:
    REMOVED_KEYS.each {|k| options.delete(k) }
    I have a case #45774 opened about that issue to have our rails versions we install (previously 2.3.8 and now 2.3.11) patched for that issue. The above issue being that cookies aren't properly passing the header type to the redirected Apache page, so the mongrel page will work on the port but the redirected page for Apache port 80 will not work (it shows either a blank page or the coding content instead).

    Of note, I've tested Rails 2.3.7 and found the same issue happening for the cookies not being passed with the proper header type on it as well with Mongrel, so I highly doubt that using Rails 2.3.7 will correct the issue. I think it's simply a bug with Mongrel working properly at this point period.

    I also recently found another issue with Mongrel in regards to blank pages showing even on the domain.com : port# url due to something else where it doesn't work on the cPanel setup (I don't entirely know the cause of this bug but it isn't exactly the same as the other one for cookies and until I have sufficient information I cannot open up a report about it). However, that issue is corrected by using this content:

    https://gist.github.com/471663

    You'd create a file at /home/username/rails_apps/appname/config/initializers/mongrel.rb location with the content from that code on the page in question. Please replace username with the cPanel username and appname with the Rails application name.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

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

    Root Administrator

    Default Re: [Case 44197] mod_rails (passenger) Instead of mongrel + Rails 3 support

    Quote Originally Posted by nikolaia View Post
    This is an excellent idea, we need rails 3 support!
    I have updated the title of this thread since we are already working on Passenger + Rails 3 support .

  12. #12
    Member
    Join Date
    Nov 2003
    Posts
    5

    Default Re: [Case 44197] mod_rails (passenger) Instead of mongrel + Rails 3 support

    +1

    Rails 3 is coming up fast and I cannot support sites who need it.

  13. #13
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jan 2011
    Location
    Portugal
    Posts
    31

    Default Re: [Case 44197] mod_rails (passenger) Instead of mongrel + Rails 3 support

    +1 vote for Rails 3 support. I think mod_rails is the best solution for cPanel implementation.
    WebTuga Hosting
    Portuguese Shared, Virtual and Dedicated Web Hosting
    Providing the best solutions for you!

  14. #14
    Member
    Join Date
    Apr 2005
    Posts
    99

    Default Re: [Case 44197] mod_rails (passenger) Instead of mongrel + Rails 3 support

    Quote Originally Posted by cPanelDavidG View Post
    I have updated the title of this thread since we are already working on Passenger + Rails 3 support .
    Thanks David - do you have any rough ETAs or an idea of when we might see it?

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

    Root Administrator

    Default Re: [Case 44197] mod_rails (passenger) Instead of mongrel + Rails 3 support

    Quote Originally Posted by Brook View Post
    Thanks David - do you have any rough ETAs or an idea of when we might see it?
    I do not have an ETA, but seeing as it is still very early in the development process, we may not see it within the next few months.

+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Similar Threads & Tags
Similar threads

  1. Mongrel issue when starting Ruby applications using Rails 3.0 [Case 43320]
    By ghorlacher in forum cPanel and WHM Discussions
    Replies: 29
    Last Post: 04-17-2012, 04:00 AM
  2. Unicorn instead of or in addition to mod_rails/passenger/mongrel
    By yakatz9 in forum Feature Requests for cPanel/WHM
    Replies: 1
    Last Post: 11-08-2011, 12:38 PM
  3. Installing mod_rails and Rails 3.0.9 on a cPanel machine
    By cPanelTristan in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-04-2011, 01:42 PM
  4. mongrel problem with rails 2.3.8
    By madpato in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 05-26-2011, 11:02 AM
  5. built in Ruby on Rails vs mod_rails?
    By danimal in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-18-2009, 12:33 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube