Passenger (mod_rails) integration

  • izooxman
  • 02/18/08
  • Offline
Posted: Fri, 2008-04-11 09:04

Today Passenger or mod_rails was released, and is supposed to be easier to work with, and have better performance than mongrel with mod_proxy. Definitely a must look for virtualmin!


Re:Passenger (mod_rails) integration

  • Hal9000
  • 04/28/08
  • Offline
  • Thu, 2008-09-25 00:20

ditto! i had tons of problems with mongrail, including process lockups, high cpu consuption and huge memory leaks. i just switched to passenger and it works like a charm.


Re:Passenger (mod_rails) integration

  • Joe
  • 10/23/08
  • Offline
  • Thu, 2008-09-25 12:55

It's coming. In fact, I'm proudly wearing my Phusion T-shirt at this very moment that I received when Virtualmin, Inc. contributed a chunk of cash to the mod_rails project. We've never loved mongrel--it's a fine piece of code, but it's a solution to the wrong problem for most hosting environments, and we're happy to see a better deployment solution for rails.

I expect I'll get packages into the repos in the next week or two, and Jamie will have support added to Virtualmin a week or two after that. It'll take quite a bit of testing before we consider it a "stable" feature...but because deploying under mod_rails is dramatically simpler than under mongrel, it should be more reliable and predictable in the long run.


Re:Passenger (mod_rails) integration

  • ken.wiesner
  • 02/12/08
  • Offline
  • Sat, 2008-12-06 10:12

Hey Joe,

How is this project coming along? If I manually install the gem and run their little apache installer with that work or will that do bad things to my virtualmin server?


Re:Passenger (mod_rails) integration

  • orange
  • 06/21/08
  • Offline
  • Tue, 2008-11-04 03:42

Joe, any update on this? Just got a Joyent Accelerator and would love to use Passenger. :D


Re:Passenger (mod_rails) integration

  • sgrayban
  • 06/20/07
  • Offline
  • Fri, 2008-11-07 15:43

mod_rails ?? for apache ?? I don't even see this in the debian repo.


Re:Passenger (mod_rails) integration

  • ken.wiesner
  • 02/12/08
  • Offline
  • Fri, 2008-12-26 11:41

I opened a [url=http://www.virtualmin.com/index.php?option=com_flyspray&Itemid=99999999&do=details&action=details.addvote&task_id=4932]ticket[/url] to track this. Feel free to cast a vote!


Got it working

  • cewald
  • 05/29/11
  • Offline
  • Sun, 2011-05-29 10:27

Letting everyone know that I got it working manually. Very straight forward. I am running debian 6.

Steps: Uninstall previously installed rubies packages: apt-get remove ruby1.8 ri1.8 Install rvm https://rvm.beginrescueend.com/ Be sure to add the stuff to .bash_profile (documented on the rvm site) rvm install 1.9.2 or whatever ruby version you want rvm --default 1.9.2 gem install passenger passenger-install-apache2 Create a file in mods-available (debian) or else add the stuff to http.conf be sure the mods are enabled and restart point the document root in virtualmin to the your rack/rails app public folder add the directory option -MultiViews thing

It works! On multiple virtual hosts too!