# Deployment

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/deployment/20.md?page=20

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 21

---

## [Custom gem directory: monit doesn't start backgroundrb](https://www.ruby-forum.com/t/custom-gem-directory-monit-doesnt-start-backgroundrb/130780)

<div class="topic-metadata">

**Author:** [@hawe](https://www.ruby-forum.com/u/hawe)\
**Replies:** 0\
**Last updated:** [March 3, 2008, 10:17am UTC](https://www.ruby-forum.com/t/custom-gem-directory-monit-doesnt-start-backgroundrb/130780 "2008-03-03T10:17:28Z")

</div>

Hi! Backgroundrb works fine until I tried to monitor it with monit! Here is a part from the .monitrc file: check process backgroundrb with pidfile /home/user/domain/log/backgroundrb.pid start program = “/home/user/.…

---

## [Recommended # of mongrels for a default EC2 node](https://www.ruby-forum.com/t/recommended-of-mongrels-for-a-default-ec2-node/130729)

<div class="topic-metadata">

**Author:** [@revo](https://www.ruby-forum.com/u/revo)\
**Replies:** 1\
**Last updated:** [March 2, 2008, 9:57pm UTC](https://www.ruby-forum.com/t/recommended-of-mongrels-for-a-default-ec2-node/130729 "2008-03-02T21:57:36Z")

</div>

Hi - I was wondering if anyone had any experience with mongrels on EC2. If so, how many mongrels are recommended for the default ($0.10/hour) EC2 node? Thanks!

---

## [Question about installing rails with mongrel](https://www.ruby-forum.com/t/question-about-installing-rails-with-mongrel/130581)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 1, 2008, 1:36pm UTC](https://www.ruby-forum.com/t/question-about-installing-rails-with-mongrel/130581 "2008-03-01T13:36:55Z")

</div>

Hi, I’ve decided to go with an Apache-Mongrel installation. But I have a question. Following the instructions here – http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and…

---

## [Deployment config and technology choice](https://www.ruby-forum.com/t/deployment-config-and-technology-choice/130389)

<div class="topic-metadata">

**Author:** [@Jodi](https://www.ruby-forum.com/u/Jodi)\
**Replies:** 3\
**Last updated:** [February 28, 2008, 6:17pm UTC](https://www.ruby-forum.com/t/deployment-config-and-technology-choice/130389 "2008-02-28T18:17:49Z")

</div>

Greeetings all, I’m revisiting our deployment technologies after having read Ezra’s book; hoping you don’t mind answer a few questions. Plus would love any thoughts from the other pros. We’ve presently deployed : ng…

---

## [Deploying rails with mod\_fastcgid on linux](https://www.ruby-forum.com/t/deploying-rails-with-mod-fastcgid-on-linux/130483)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 5:24pm UTC](https://www.ruby-forum.com/t/deploying-rails-with-mod-fastcgid-on-linux/130483 "2008-02-28T17:24:08Z")

</div>

Hi, Has anyone had success installing ruby on rails with mod\_fastcgid on Apache 2 with Linux (I’m running Fedora Core 6 distro)? I followed the instructions here – http://journal.paul.querna.org/articles/2006/01/01/…

---

## [\[ANN\] Ebb web server version 0.0.1](https://www.ruby-forum.com/t/ann-ebb-web-server-version-0-0-1/130456)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 12:53pm UTC](https://www.ruby-forum.com/t/ann-ebb-web-server-version-0-0-1/130456 "2008-02-28T12:53:23Z")

</div>

Hi, Ebb aims to be a small and fast web server specifically for hosting web frameworks like Rails, Merb, and in the future Django. The design is similar to the Evented Mongrel web server; except instead of using Even…

---

## [Deploying one application to several domains?](https://www.ruby-forum.com/t/deploying-one-application-to-several-domains/130434)

<div class="topic-metadata">

**Author:** [@luke001](https://www.ruby-forum.com/u/luke001)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 6:35am UTC](https://www.ruby-forum.com/t/deploying-one-application-to-several-domains/130434 "2008-02-28T06:35:12Z")

</div>

Has anyone deployed their app to multiple domains?

---

## [Unknown select query internal to rails?](https://www.ruby-forum.com/t/unknown-select-query-internal-to-rails/130181)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 4:48am UTC](https://www.ruby-forum.com/t/unknown-select-query-internal-to-rails/130181 "2008-02-26T04:48:05Z")

</div>

A few times a day, a query runs on my server that locks everything up: SELECT \* FROM \<db\_name\>.books ORDER BY id I have no clue what would generate a query like this. Anyone familiar with Rails magic that could answer…

---

## [Is there a way to set a global variable in my deploy](https://www.ruby-forum.com/t/is-there-a-way-to-set-a-global-variable-in-my-deploy/186755)

<div class="topic-metadata">

**Author:** [@lucasc](https://www.ruby-forum.com/u/lucasc)\
**Replies:** 3\
**Last updated:** [February 25, 2008, 9:14pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-set-a-global-variable-in-my-deploy/186755 "2008-02-25T21:14:57Z")

</div>

I am deploying an application to several sub domains and need to set a global variable in each sub domain so that I query the correct table based on the sub domain. Currently I am doing this in my layouts but this do…

---

## [Is there a way to set a global variable in my deploy](https://www.ruby-forum.com/t/is-there-a-way-to-set-a-global-variable-in-my-deploy/130145)

<div class="topic-metadata">

**Author:** [@lucasc](https://www.ruby-forum.com/u/lucasc)\
**Replies:** 0\
**Last updated:** [February 25, 2008, 8:19pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-set-a-global-variable-in-my-deploy/130145 "2008-02-25T20:19:32Z")

</div>

I am deploying an application to several sub domains and need to set a global variable in each sub domain so that I query the correct table based on the sub domain. Currently I am doing this in my layouts but this do…

---

## [Leopard anyone?](https://www.ruby-forum.com/t/leopard-anyone/130079)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 2\
**Last updated:** [February 25, 2008, 7:34pm UTC](https://www.ruby-forum.com/t/leopard-anyone/130079 "2008-02-25T19:34:47Z")

</div>

So, with all the noise about Rails on Leopard, has anyone actually deployed to a product Xserve using the built-in stuff? Most specifically, the built-in Apache? Googling produces next to zero hits on the topic. Just …

---

## [What does undefined method \`session=' for ActionController::Base:Class mean?](https://www.ruby-forum.com/t/what-does-undefined-method-session-for-actioncontroller-class-mean/186743)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [February 25, 2008, 6:15pm UTC](https://www.ruby-forum.com/t/what-does-undefined-method-session-for-actioncontroller-class-mean/186743 "2008-02-25T18:15:41Z")

</div>

Hi, I’m trying to take a rails project built on gem version 1.2.6 and upgrade it to 2.0.2. So far, I haven’t changed anything except this line in the config/environment.rb file … RAILS\_GEM\_VERSION = ‘2.0.2’ unless d…

---

## [What does undefined method \`session=' for ActionController::Base:Class mean?](https://www.ruby-forum.com/t/what-does-undefined-method-session-for-actioncontroller-class-mean/130132)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [February 25, 2008, 5:30pm UTC](https://www.ruby-forum.com/t/what-does-undefined-method-session-for-actioncontroller-class-mean/130132 "2008-02-25T17:30:50Z")

</div>

Hi, I’m trying to take a rails project built on gem version 1.2.6 and upgrade it to 2.0.2. So far, I haven’t changed anything except this line in the config/environment.rb file … RAILS\_GEM\_VERSION = ‘2.0.2’ unless d…

---

## [Mongrel logs DB load times](https://www.ruby-forum.com/t/mongrel-logs-db-load-times/130059)

<div class="topic-metadata">

**Author:** [@t\_chheng](https://www.ruby-forum.com/u/t_chheng)\
**Replies:** 0\
**Last updated:** [February 25, 2008, 2:31am UTC](https://www.ruby-forum.com/t/mongrel-logs-db-load-times/130059 "2008-02-25T02:31:27Z")

</div>

My mongrel logs show an incorrect DB load times, DB: 0.00000 (0%) for every access. I know it is hitting the database. Any ideas how to trace why the DB load time reporting is incorrect? It only happens in productio…

---

## [Executing \`deploy:update\_code' hangs](https://www.ruby-forum.com/t/executing-deploy-update-code-hangs/130049)

<div class="topic-metadata">

**Author:** [@rain\_tmc](https://www.ruby-forum.com/u/rain_tmc)\
**Replies:** 0\
**Last updated:** [February 24, 2008, 11:39pm UTC](https://www.ruby-forum.com/t/executing-deploy-update-code-hangs/130049 "2008-02-24T23:39:13Z")

</div>

When running either cap deploy or cap deploy:cold cap basically freezes at the this step: executing \`deploy:update\_code’ I have svn installed on windows workstation along with linux on sharehost(bluehost). I am able…

---

## [Setup IIS for ruby on rails](https://www.ruby-forum.com/t/setup-iis-for-ruby-on-rails/129079)

<div class="topic-metadata">

**Author:** [@jaan](https://www.ruby-forum.com/u/jaan)\
**Replies:** 7\
**Last updated:** [February 23, 2008, 5:35pm UTC](https://www.ruby-forum.com/t/setup-iis-for-ruby-on-rails/129079 "2008-02-23T17:35:41Z")

</div>

Hi All, I am new in learning ruby on rails. And now I’m trying to do set up for ruby on rails in IIS I follow instructions from one of site and then when I try to run the page http://localhost/index.rhtml, it comes a…

---

## [No view templates found](https://www.ruby-forum.com/t/no-view-templates-found/129832)

<div class="topic-metadata">

**Author:** [@hansdampf10](https://www.ruby-forum.com/u/hansdampf10)\
**Replies:** 0\
**Last updated:** [February 21, 2008, 11:34pm UTC](https://www.ruby-forum.com/t/no-view-templates-found/129832 "2008-02-21T23:34:20Z")

</div>

Hi, i am running two rails application on my server both on the same ip. Now i got new ips and tried to deploy a new application on this ip. The mongrel installation went normal and the mongrel servers are starting u…

---

## [Strange error on server startup](https://www.ruby-forum.com/t/strange-error-on-server-startup/129817)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [February 21, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/strange-error-on-server-startup/129817 "2008-02-21T20:30:45Z")

</div>

Hi, This line in my environment.rb file is causing a syntax error … require File.join(File.dirname(FILE), ‘boot’) Could someone tell me why? Here’s what happens when I try and start my server … \[me@mymachine\]~/w/dp…

---

## [A lot of records running slow on Dreamhost - any suggestions](https://www.ruby-forum.com/t/a-lot-of-records-running-slow-on-dreamhost-any-suggestions/129674)

<div class="topic-metadata">

**Author:** [@fonziguy](https://www.ruby-forum.com/u/fonziguy)\
**Replies:** 9\
**Last updated:** [February 21, 2008, 3:06am UTC](https://www.ruby-forum.com/t/a-lot-of-records-running-slow-on-dreamhost-any-suggestions/129674 "2008-02-21T03:06:12Z")

</div>

Hi guys, I’m quite new to Ruby on Rails and I am deploying my first app. I have over 50,000 records and each record has a true or false active state. On the homepage I find 50 of the active records and order them ran…

---

## [Mongrel throws error when running as nobody](https://www.ruby-forum.com/t/mongrel-throws-error-when-running-as-nobody/129574)

<div class="topic-metadata">

**Author:** [@armstheykill](https://www.ruby-forum.com/u/armstheykill)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 8:00pm UTC](https://www.ruby-forum.com/t/mongrel-throws-error-when-running-as-nobody/129574 "2008-02-19T20:00:53Z")

</div>

Hi all, My mongrel cluster runs perfectly if I allow it to run as root, but whenever I try to change things to nobody/nobody my mongrels refuse to start and the following shows up in the mongrel logs… \*\* Starting Mon…

---

## [Nginx, mongrel\_cluster, multiple virtual hosts pointing to one application but each to a different](https://www.ruby-forum.com/t/nginx-mongrel-cluster-multiple-virtual-hosts-pointing-to-one-application-but-each-to-a-different/129240)

<div class="topic-metadata">

**Author:** [@roller8](https://www.ruby-forum.com/u/roller8)\
**Replies:** 3\
**Last updated:** [February 19, 2008, 12:04pm UTC](https://www.ruby-forum.com/t/nginx-mongrel-cluster-multiple-virtual-hosts-pointing-to-one-application-but-each-to-a-different/129240 "2008-02-19T12:04:09Z")

</div>

Hi all, I have one rails app running on this setup: Centos nginx a mongrel\_cluster Setting up virtual hosts with nginx is easy enough, but I’d like to point different hosts to different controllers. For example, I h…

---

## [Deploy from development machine to server](https://www.ruby-forum.com/t/deploy-from-development-machine-to-server/129521)

<div class="topic-metadata">

**Author:** [@amckee](https://www.ruby-forum.com/u/amckee)\
**Replies:** 1\
**Last updated:** [February 19, 2008, 10:52am UTC](https://www.ruby-forum.com/t/deploy-from-development-machine-to-server/129521 "2008-02-19T10:52:12Z")

</div>

I cannot for the life of me seem to figure out or even find a decent guide on what needs done to deploy a rails app to my server. I do mean an actual web server, but for now I’d be happy just getting it to run on my h…

---

## [Capistrano and nginx](https://www.ruby-forum.com/t/capistrano-and-nginx/175821)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [February 18, 2008, 11:43pm UTC](https://www.ruby-forum.com/t/capistrano-and-nginx/175821 "2008-02-18T23:43:16Z")

</div>

I’m using nginx with capistrano to deploy my Rails app and I’m having a hard time getting the maintenance capistrano task (deploy:web:disable) to work like I want. I want nginx to redirect all requests to public/maint…

---

## [Windows or Linux for RoR Development](https://www.ruby-forum.com/t/windows-or-linux-for-ror-development/196596)

<div class="topic-metadata">

**Author:** [@liquidrails](https://www.ruby-forum.com/u/liquidrails)\
**Replies:** 2\
**Last updated:** [February 15, 2008, 9:42pm UTC](https://www.ruby-forum.com/t/windows-or-linux-for-ror-development/196596 "2008-02-15T21:42:39Z")

</div>

Any thoughts on this? I am contemplating a switch from a Windows platform to Linux. Thanks!

---

## [Problem with deploying a facebook application](https://www.ruby-forum.com/t/problem-with-deploying-a-facebook-application/127709)

<div class="topic-metadata">

**Author:** [@noham](https://www.ruby-forum.com/u/noham)\
**Replies:** 5\
**Last updated:** [February 13, 2008, 1:21pm UTC](https://www.ruby-forum.com/t/problem-with-deploying-a-facebook-application/127709 "2008-02-13T13:21:57Z")

</div>

Hi all, M having a problem deploying a ruby on rails application on the production server tthough I’ve successfully deployed another 1 on the same before, and though the neww app is successfully running on the devel…

---

## [Deploy Rails apps in 4 mins and 37 secs](https://www.ruby-forum.com/t/deploy-rails-apps-in-4-mins-and-37-secs/128776)

<div class="topic-metadata">

**Author:** [@Macel](https://www.ruby-forum.com/u/Macel)\
**Replies:** 0\
**Last updated:** [February 11, 2008, 2:00pm UTC](https://www.ruby-forum.com/t/deploy-rails-apps-in-4-mins-and-37-secs/128776 "2008-02-11T14:00:29Z")

</div>

Hi guys, I would like to invite all of you to deploy your Rails app on the newly-release Morph Application Platform. NO STRINGS attached. You might even get a shirt, if we like what we see or if you can give us your …

---

## [XAMPP With Rails?](https://www.ruby-forum.com/t/xampp-with-rails/128611)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 1\
**Last updated:** [February 11, 2008, 4:58am UTC](https://www.ruby-forum.com/t/xampp-with-rails/128611 "2008-02-11T04:58:55Z")

</div>

Hey, I use XAMPP on a USB memory stick at the moment to do all my coding in PHP/MySQL on a portable Apache server. Is it possible to integrate rails into this setup, so when the server encouters a PHP file it runs i…

---

## [Mongrel time out](https://www.ruby-forum.com/t/mongrel-time-out/128444)

<div class="topic-metadata">

**Author:** [@t\_chheng](https://www.ruby-forum.com/u/t_chheng)\
**Replies:** 0\
**Last updated:** [February 7, 2008, 7:09pm UTC](https://www.ruby-forum.com/t/mongrel-time-out/128444 "2008-02-07T19:09:15Z")

</div>

I’m getting this strange error: /usr/local/bin/mongrel\_rails:16Thread #\<Thread:0xb7324cec sleep\> is too old, killing.Thu Feb 07 09:12:11 -0800 2008: Error calling Dispatcher.dispatch #\<Mongrel::TimeoutError: Mongrel t…

---

## [Recently falling in love with LiteSpeed](https://www.ruby-forum.com/t/recently-falling-in-love-with-litespeed/128317)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [February 6, 2008, 7:05pm UTC](https://www.ruby-forum.com/t/recently-falling-in-love-with-litespeed/128317 "2008-02-06T19:05:46Z")

</div>

I recently had my first site deployed using Litespeed and wanted to know if there were any despotic users out there that I might converse with from time to time. I see the entire issue in the light of ‘gas guzzler’ ca…

---

## [404 error - lighttpd - Rails](https://www.ruby-forum.com/t/404-error-lighttpd-rails/127806)

<div class="topic-metadata">

**Author:** [@temesta](https://www.ruby-forum.com/u/temesta)\
**Replies:** 0\
**Last updated:** [February 1, 2008, 1:50pm UTC](https://www.ruby-forum.com/t/404-error-lighttpd-rails/127806 "2008-02-01T13:50:18Z")

</div>

Hello, I just build lighttpd and all prerequisites (OSX). Lighttpd seems to work fine on port 81, but my rails applications won’t run. I just created a testapp and when I try to view the application environment from …

[Previous page](https://www.ruby-forum.com/c/ruby-on-rails/deployment/20.md?page=19)

[Next page](https://www.ruby-forum.com/c/ruby-on-rails/deployment/20.md?page=21)
