# Deployment

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

[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:** 23

---

## [Server performance is...let's just say less than perfect](https://www.ruby-forum.com/t/server-performance-is-lets-just-say-less-than-perfect/125314)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 11\
**Last updated:** [January 8, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/server-performance-is-lets-just-say-less-than-perfect/125314 "2008-01-08T16:27:48Z")

</div>

I deployed an app to a Linode 360 VPS, and have notices a huge fluctuation in performance, ie 50req/sec down to 2req/sec. Seeing as it was at 50 at one time I can’t see the reason being in the code. I just wanted to …

---

## [Return variables on request](https://www.ruby-forum.com/t/return-variables-on-request/125353)

<div class="topic-metadata">

**Author:** [@gustav](https://www.ruby-forum.com/u/gustav)\
**Replies:** 1\
**Last updated:** [January 8, 2008, 2:45pm UTC](https://www.ruby-forum.com/t/return-variables-on-request/125353 "2008-01-08T14:45:15Z")

</div>

I’m making a GET-request to http://url/check, and would like return either “&show=1&” or “&show=2&”, depending on if an IF statement in my check-method is true or not. Anyone know how to make this happen?

---

## [Problem deploying Rails 2.0.2 app with Dreamhost](https://www.ruby-forum.com/t/problem-deploying-rails-2-0-2-app-with-dreamhost/125311)

<div class="topic-metadata">

**Author:** [@supasta](https://www.ruby-forum.com/u/supasta)\
**Replies:** 1\
**Last updated:** [January 8, 2008, 4:59am UTC](https://www.ruby-forum.com/t/problem-deploying-rails-2-0-2-app-with-dreamhost/125311 "2008-01-08T04:59:42Z")

</div>

Has anyone deployed a rails 2.0.2 application to dreamhost with any success? I have an app that works fine in my cygwin environment but when I try to migrate my databases on dreamhost, I get the following error. uni…

---

## [Capistrano 2.1 ssh/svn checkout problem](https://www.ruby-forum.com/t/capistrano-2-1-ssh-svn-checkout-problem/123386)

<div class="topic-metadata">

**Author:** [@t\_chheng](https://www.ruby-forum.com/u/t_chheng)\
**Replies:** 6\
**Last updated:** [January 8, 2008, 1:41am UTC](https://www.ruby-forum.com/t/capistrano-2-1-ssh-svn-checkout-problem/123386 "2008-01-08T01:41:38Z")

</div>

Hi, I’m trying to deploy via Capistrano 2.1 I have the SVN repos. on the same deployed server. In my deploy.rb: I tried this set :repository, “file:///home/#{user}/svn\_repos/trunk” This gives an error of: execut…

---

## [How to setup Single Application and multiple customers/db](https://www.ruby-forum.com/t/how-to-setup-single-application-and-multiple-customers-db/123824)

<div class="topic-metadata">

**Author:** [@tgiridhar](https://www.ruby-forum.com/u/tgiridhar)\
**Replies:** 6\
**Last updated:** [January 7, 2008, 11:20pm UTC](https://www.ruby-forum.com/t/how-to-setup-single-application-and-multiple-customers-db/123824 "2008-01-07T23:20:53Z")

</div>

Hi All, I have an rails application which is designed to connect to one db and work at 1 url. Let say i want to host it 10 customers like http://customer1.coolapp.com -\>customer1 db http://customer2.coolapp.com -\>c…

---

## [Can't seem to get Debain to understand "Production"](https://www.ruby-forum.com/t/cant-seem-to-get-debain-to-understand-production/121257)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 3\
**Last updated:** [January 7, 2008, 1:42am UTC](https://www.ruby-forum.com/t/cant-seem-to-get-debain-to-understand-production/121257 "2008-01-07T01:42:13Z")

</div>

Hey all, I’ve just moved my rails app to a freshly-configured Debian Etch box, running rails 1.2.6, and I’ve run into a quandary. It seems that nothing I do (setting it in the environment.rb file, in the mongrel\_clus…

---

## [Large scale deployment](https://www.ruby-forum.com/t/large-scale-deployment/124988)

<div class="topic-metadata">

**Author:** [@Damien\_Hunter](https://www.ruby-forum.com/u/Damien_Hunter)\
**Replies:** 21\
**Last updated:** [January 6, 2008, 4:53am UTC](https://www.ruby-forum.com/t/large-scale-deployment/124988 "2008-01-06T04:53:32Z")

</div>

I’m looking to deploy a digital sign-up/appointment sheet application at a university. Can anyone give suggestions on the best setups to handle sporadic use by 8,000 individuals? Two major factors here are reliability…

---

## [Problem with Auto Complete](https://www.ruby-forum.com/t/problem-with-auto-complete/125087)

<div class="topic-metadata">

**Author:** [@Damien\_Hunter](https://www.ruby-forum.com/u/Damien_Hunter)\
**Replies:** 0\
**Last updated:** [January 5, 2008, 6:13am UTC](https://www.ruby-forum.com/t/problem-with-auto-complete/125087 "2008-01-05T06:13:35Z")

</div>

I tried posting this in the Ruby on Rails talk group but haven’t been able to get a decent reply. Sorry if this isn’t the appropriate place to be posting this (if someone could tell me where I can post it, I’d be more…

---

## [Lightweight scalable image proxy](https://www.ruby-forum.com/t/lightweight-scalable-image-proxy/124941)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 3\
**Last updated:** [January 4, 2008, 12:06am UTC](https://www.ruby-forum.com/t/lightweight-scalable-image-proxy/124941 "2008-01-04T00:06:39Z")

</div>

I need to proxy images from facebook through a different url (one which I can put a crossdomain.xml file) Im currently using like 20 mongrels where I run: def index return unless params\[:url\].include?(“facebook.com”) …

---

## [Apache installed but cant view default page outside of LAN](https://www.ruby-forum.com/t/apache-installed-but-cant-view-default-page-outside-of-lan/124653)

<div class="topic-metadata">

**Author:** [@bbqplate](https://www.ruby-forum.com/u/bbqplate)\
**Replies:** 1\
**Last updated:** [January 1, 2008, 3:43pm UTC](https://www.ruby-forum.com/t/apache-installed-but-cant-view-default-page-outside-of-lan/124653 "2008-01-01T15:43:01Z")

</div>

hi, i installed apache and i can view the default splash page by entering the local ipaddress from another computer on the network. however, i cant view the splash page from another computer on toutside the network. …

---

## [Installation problem](https://www.ruby-forum.com/t/installation-problem/121212)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 1\
**Last updated:** [December 29, 2007, 6:12am UTC](https://www.ruby-forum.com/t/installation-problem/121212 "2007-12-29T06:12:04Z")

</div>

Hi there, I am trying to set up my rails environment on my mac (OSX leopard) I have installed MySQL and it works fine with CocoaMySQL. I have edited the database.yml file to represent my databases. But, when i try and…

---

## [Issues with "Connection reset" and mongrels loving memory](https://www.ruby-forum.com/t/issues-with-connection-reset-and-mongrels-loving-memory/123425)

<div class="topic-metadata">

**Author:** [@Bill\_Turner](https://www.ruby-forum.com/u/Bill_Turner)\
**Replies:** 1\
**Last updated:** [December 28, 2007, 1:56am UTC](https://www.ruby-forum.com/t/issues-with-connection-reset-and-mongrels-loving-memory/123425 "2007-12-28T01:56:08Z")

</div>

Hi folks, I’ve searched and search, but can’t seem to find solutions that work for me. I’m hoping if I include enough information I may find some help here. Here are the problems I am getting reports on: While usin…

---

## [Application error](https://www.ruby-forum.com/t/application-error/123847)

<div class="topic-metadata">

**Author:** [@Bala](https://www.ruby-forum.com/u/Bala)\
**Replies:** 4\
**Last updated:** [December 24, 2007, 3:47pm UTC](https://www.ruby-forum.com/t/application-error/123847 "2007-12-24T15:47:41Z")

</div>

Hi Guys, I’ve hosted with dreamhost and deployed my app in sub directory mydomain.com/project is the default executable directory under project i created rails “railsapp” i created symlink ln ln -s ~/mydomain.com/pro…

---

## [How to set a ror application environment for production?](https://www.ruby-forum.com/t/how-to-set-a-ror-application-environment-for-production/123806)

<div class="topic-metadata">

**Author:** [@art](https://www.ruby-forum.com/u/art)\
**Replies:** 2\
**Last updated:** [December 20, 2007, 9:58pm UTC](https://www.ruby-forum.com/t/how-to-set-a-ror-application-environment-for-production/123806 "2007-12-20T21:58:37Z")

</div>

Hi all, I would like to know how to set the production environment in a ruby on rails application in the real server? Thanks in advance and best regards, Art

---

## [Mongrel + nginx + fork](https://www.ruby-forum.com/t/mongrel-nginx-fork/123733)

<div class="topic-metadata">

**Author:** [@bincedecrabe](https://www.ruby-forum.com/u/bincedecrabe)\
**Replies:** 2\
**Last updated:** [December 20, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/mongrel-nginx-fork/123733 "2007-12-20T19:28:56Z")

</div>

I’m trying to kick off simple (yet long running) background processes from within my rails app. I’m using Tom Anderson’s spawn plugin http://rubyforge.org/projects/spawn/ to fork a child process and unhook the active…

---

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

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 3\
**Last updated:** [December 20, 2007, 12:16am UTC](https://www.ruby-forum.com/t/capistrano-and-ferret/122465 "2007-12-20T00:16:44Z")

</div>

Problem: In my project, the /index directory, used by ferret, is not in the svn repository, for obvious reasons. Every time I deploy, /index is gone, and the first user to run a search on the new deployment has a ver…

---

## [Deprec 2.0 & Capistrano 2.0](https://www.ruby-forum.com/t/deprec-2-0-capistrano-2-0/108251)

<div class="topic-metadata">

**Author:** [@dxk3355](https://www.ruby-forum.com/u/dxk3355)\
**Replies:** 6\
**Last updated:** [December 19, 2007, 4:25pm UTC](https://www.ruby-forum.com/t/deprec-2-0-capistrano-2-0/108251 "2007-12-19T16:25:57Z")

</div>

Hi! I’m just learning the basics of deployment with deprec/capistrano… I would like to ask about the opinion regarding whether it is worth waiting (a week or so) for versions 2.0 of both to be released… or do I just …

---

## [Files didn't get checked out from repository during deployme](https://www.ruby-forum.com/t/files-didnt-get-checked-out-from-repository-during-deployme/123567)

<div class="topic-metadata">

**Author:** [@weloki](https://www.ruby-forum.com/u/weloki)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 9:26pm UTC](https://www.ruby-forum.com/t/files-didnt-get-checked-out-from-repository-during-deployme/123567 "2007-12-18T21:26:39Z")

</div>

Hi, I recently deployed to a production server from a development machine using capistrano and some files failed to get checked out of the subversion repository, so the deployment ended up being a lemon. I rolled it …

---

## [STDOUT is nil when rake task is run via cron](https://www.ruby-forum.com/t/stdout-is-nil-when-rake-task-is-run-via-cron/121859)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 2\
**Last updated:** [December 18, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/stdout-is-nil-when-rake-task-is-run-via-cron/121859 "2007-12-18T20:56:02Z")

</div>

I have a simple rake script which looks like this task :test =\> :environment do response = %x{date} puts 1 puts response puts 2 end When I run this directly from the command line, I get the correct output. Howev…

---

## [Problem starting server](https://www.ruby-forum.com/t/problem-starting-server/123405)

<div class="topic-metadata">

**Author:** [@ratschi85](https://www.ruby-forum.com/u/ratschi85)\
**Replies:** 0\
**Last updated:** [December 17, 2007, 1:15pm UTC](https://www.ruby-forum.com/t/problem-starting-server/123405 "2007-12-17T13:15:08Z")

</div>

I get the following error when trying to start the server. Can anyone help me on how to resolve this? rajeev@osibuild7:~/Desktop/logo/logo$ script/server \*\* Ruby version is not up-to-date; loading cgi\_multipart\_eof\_fi…

---

## [Fast cgi retry interval question](https://www.ruby-forum.com/t/fast-cgi-retry-interval-question/123331)

<div class="topic-metadata">

**Author:** [@frocco](https://www.ruby-forum.com/u/frocco)\
**Replies:** 0\
**Last updated:** [December 16, 2007, 5:42pm UTC](https://www.ruby-forum.com/t/fast-cgi-retry-interval-question/123331 "2007-12-16T17:42:33Z")

</div>

Sorry, this is kind of off-topic, but since most of the people who use mod\_fastcgi and fcgi.rb are probably on RoR, I though this would be most appropriate place to ask the question. My website has experienced an outa…

---

## [Large file upload issue](https://www.ruby-forum.com/t/large-file-upload-issue/123133)

<div class="topic-metadata">

**Author:** [@deliak](https://www.ruby-forum.com/u/deliak)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 9:32am UTC](https://www.ruby-forum.com/t/large-file-upload-issue/123133 "2007-12-14T09:32:36Z")

</div>

Hi all, I’m using dispatch.fcgi && lighttpd in a environment with memory issues. Whenever I try to upload a file which size exceeds the memory limits, lighttpd process grows till it fills all the available memory and…

---

## [Can't seem to load css and images after first deployment](https://www.ruby-forum.com/t/cant-seem-to-load-css-and-images-after-first-deployment/123070)

<div class="topic-metadata">

**Author:** [@mememe](https://www.ruby-forum.com/u/mememe)\
**Replies:** 7\
**Last updated:** [December 14, 2007, 12:54am UTC](https://www.ruby-forum.com/t/cant-seem-to-load-css-and-images-after-first-deployment/123070 "2007-12-14T00:54:02Z")

</div>

I’ve deployed a rails app (using Capistrano) to an a server running apache and mongrel\_cluster. I am able to get to my page, but what I see is basically my page without stylesheet referred and all the images missing. …

---

## [Swap problems with mongrel](https://www.ruby-forum.com/t/swap-problems-with-mongrel/122668)

<div class="topic-metadata">

**Author:** [@thabenksta](https://www.ruby-forum.com/u/thabenksta)\
**Replies:** 8\
**Last updated:** [December 13, 2007, 6:14pm UTC](https://www.ruby-forum.com/t/swap-problems-with-mongrel/122668 "2007-12-13T18:14:12Z")

</div>

I have a Ubuntu linux setup with 512MB of RAM. We haven’t launched our site yet, so we only have about 100 unique visitors per day. Our site is very dynamic in nature (i.e. database driven). We are running Rails be…

---

## [Capistrano (Errno::ECONNREFUSED: Connection refused - connec](https://www.ruby-forum.com/t/capistrano-errno-connection-refused-connec/117978)

<div class="topic-metadata">

**Author:** [@xbelanch](https://www.ruby-forum.com/u/xbelanch)\
**Replies:** 3\
**Last updated:** [December 11, 2007, 5:57pm UTC](https://www.ruby-forum.com/t/capistrano-errno-connection-refused-connec/117978 "2007-12-11T17:57:15Z")

</div>

Hi folks, I’m trying to setup with Capistrano 2 and I received this error: $ cap deploy:setup executing \`deploy:setup’ executing “umask 02 && mkdir -p /var/www/apps/twitter /var/www/apps/twitter/releases /var/www/ap…

---

## [Advices for production deployment?](https://www.ruby-forum.com/t/advices-for-production-deployment/122574)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 3\
**Last updated:** [December 11, 2007, 8:59am UTC](https://www.ruby-forum.com/t/advices-for-production-deployment/122574 "2007-12-11T08:59:28Z")

</div>

Hi, So far I’ve been working on development mode on my computer using RadRails, dev database and that. I have now something I want to start using in real life but I must continue to develop as well. I have the server…

---

## [Problem with Rmagick and simple captcha in Godaddy's ROR](https://www.ruby-forum.com/t/problem-with-rmagick-and-simple-captcha-in-godaddys-ror/122250)

<div class="topic-metadata">

**Author:** [@ahaleo](https://www.ruby-forum.com/u/ahaleo)\
**Replies:** 4\
**Last updated:** [December 11, 2007, 4:02am UTC](https://www.ruby-forum.com/t/problem-with-rmagick-and-simple-captcha-in-godaddys-ror/122250 "2007-12-11T04:02:33Z")

</div>

I am running into a problem with Godaddy’s Ruby on Rails (shared hosting) when trying to use simple captcha plugin with Rmagick. Here is the error: sh: line 1: gs: command not found sh: line 1: gs: command not found …

---

## [NameError: uninitialized constant after deployment](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-after-deployment/122700)

<div class="topic-metadata">

**Author:** [@gabru](https://www.ruby-forum.com/u/gabru)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 12:14am UTC](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-after-deployment/122700 "2007-12-11T00:14:15Z")

</div>

i have set up my deployment with capistrano and it works fine till the step i call the app in the browser… it cannot find any of my custom classes … on the first call to a custom class i get a NameError: uninitialize…

---

## [Tell apache to use mongrel cluster](https://www.ruby-forum.com/t/tell-apache-to-use-mongrel-cluster/122652)

<div class="topic-metadata">

**Author:** [@gabru](https://www.ruby-forum.com/u/gabru)\
**Replies:** 4\
**Last updated:** [December 10, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/tell-apache-to-use-mongrel-cluster/122652 "2007-12-10T19:34:05Z")

</div>

i have successfully deployed my app and the mongrel cluster is running … the problem i have no is that i cannot access the app via a browser … it always shows me the start page of apache … how do i say it should use t…

---

## [664 permissions after cap deploy](https://www.ruby-forum.com/t/664-permissions-after-cap-deploy/122421)

<div class="topic-metadata">

**Author:** [@giuseb](https://www.ruby-forum.com/u/giuseb)\
**Replies:** 4\
**Last updated:** [December 10, 2007, 2:07pm UTC](https://www.ruby-forum.com/t/664-permissions-after-cap-deploy/122421 "2007-12-10T14:07:28Z")

</div>

Hello, when I deploy my application via capistrano (using the default recipe): $ cap deploy everything appears to go well until the system complains that script/process/reaper cannot be found. It turns out that the …

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

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