# Deployment

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

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

---

## [Capistrano upload?](https://www.ruby-forum.com/t/capistrano-upload/156711)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 2\
**Last updated:** [January 9, 2009, 5:36am UTC](https://www.ruby-forum.com/t/capistrano-upload/156711 "2009-01-09T05:36:39Z")

</div>

How do I use the Capistrano upload function in a recipe? It seems simple enough, but I can’t get it to work. Here’s my recipe desc "Copy the development database to the staging database" task :copy\_db\_to\_staging, :ho…

---

## [RoR, Apache2, fcgid and ubuntu](https://www.ruby-forum.com/t/ror-apache2-fcgid-and-ubuntu/156987)

<div class="topic-metadata">

**Author:** [@zeba-momin](https://www.ruby-forum.com/u/zeba-momin)\
**Replies:** 1\
**Last updated:** [January 8, 2009, 6:41am UTC](https://www.ruby-forum.com/t/ror-apache2-fcgid-and-ubuntu/156987 "2009-01-08T06:41:11Z")

</div>

Hi. I’m trying to deploy my rails application on ubuntu server using apache2 and fcgid…but have not been successful… I am using ruby 1.8.6, rails 2.2.2 and fcgi 0.8.7 gem… I am able to start apache successfully and v…

---

## [Apache Mongrel Proxying problem](https://www.ruby-forum.com/t/apache-mongrel-proxying-problem/156911)

<div class="topic-metadata">

**Author:** [@eabhvee](https://www.ruby-forum.com/u/eabhvee)\
**Replies:** 0\
**Last updated:** [January 5, 2009, 7:52am UTC](https://www.ruby-forum.com/t/apache-mongrel-proxying-problem/156911 "2009-01-05T07:52:07Z")

</div>

Hi, I have a small rails application I need to deploy in our corporate network. I am using a Windows Vista (i dont have any other option on this part) to host the application. I am using InstantRails and the rails a…

---

## [Subject](https://www.ruby-forum.com/t/subject/156555)

<div class="topic-metadata">

**Author:** [@hangingclowns](https://www.ruby-forum.com/u/hangingclowns)\
**Replies:** 0\
**Last updated:** [December 30, 2008, 12:01am UTC](https://www.ruby-forum.com/t/subject/156555 "2008-12-30T00:01:47Z")

</div>

text

---

## [DB export, then import](https://www.ruby-forum.com/t/db-export-then-import/152085)

<div class="topic-metadata">

**Author:** [@thithi32](https://www.ruby-forum.com/u/thithi32)\
**Replies:** 6\
**Last updated:** [December 20, 2008, 1:40am UTC](https://www.ruby-forum.com/t/db-export-then-import/152085 "2008-12-20T01:40:12Z")

</div>

Hi, I’m developping a little application on my computer (Windows Vista). It works. I did put it on my Unix server (production) and started the ruby server. It works fine. But of course there’s no data :). How can I…

---

## [Generation of migration file](https://www.ruby-forum.com/t/generation-of-migration-file/155921)

<div class="topic-metadata">

**Author:** [@kumar\_a](https://www.ruby-forum.com/u/kumar_a)\
**Replies:** 0\
**Last updated:** [December 18, 2008, 7:40am UTC](https://www.ruby-forum.com/t/generation-of-migration-file/155921 "2008-12-18T07:40:14Z")

</div>

Hi, Migration file will be generated automatically by the generation of scaffold or model. Is there any other way to generate migration file. Please send me information regarding this. Thanks in Advance, kumar

---

## [Rake command to drop a table using migration file](https://www.ruby-forum.com/t/rake-command-to-drop-a-table-using-migration-file/155920)

<div class="topic-metadata">

**Author:** [@kumar\_a](https://www.ruby-forum.com/u/kumar_a)\
**Replies:** 0\
**Last updated:** [December 18, 2008, 7:32am UTC](https://www.ruby-forum.com/t/rake-command-to-drop-a-table-using-migration-file/155920 "2008-12-18T07:32:25Z")

</div>

Hi, Please send me the information regarding rake command to drop a table. Thanks in Advace, kumar

---

## [Move MySQL database/app to different isp?](https://www.ruby-forum.com/t/move-mysql-database-app-to-different-isp/153149)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 5\
**Last updated:** [December 17, 2008, 6:48pm UTC](https://www.ruby-forum.com/t/move-mysql-database-app-to-different-isp/153149 "2008-12-17T18:48:40Z")

</div>

I have a deployed rails app that has been running for several months on one ISP. I’m moving everything to a different ISP in the next couple days. What is the easiest way to duplicate the production database on the ne…

---

## [How to restrict access to my deploy.rb file?](https://www.ruby-forum.com/t/how-to-restrict-access-to-my-deploy-rb-file/153160)

<div class="topic-metadata">

**Author:** [@rgagnon](https://www.ruby-forum.com/u/rgagnon)\
**Replies:** 2\
**Last updated:** [December 14, 2008, 10:08pm UTC](https://www.ruby-forum.com/t/how-to-restrict-access-to-my-deploy-rb-file/153160 "2008-12-14T22:08:59Z")

</div>

I would like to restrict the access to the deploy.rb file to prevent any mods from anybody that could cause major issue in production zone for instance. I do know that I can keep the deploy.rb any from the project. I…

---

## [Which download should i use?](https://www.ruby-forum.com/t/which-download-should-i-use/155339)

<div class="topic-metadata">

**Author:** [@daveh0](https://www.ruby-forum.com/u/daveh0)\
**Replies:** 1\
**Last updated:** [December 13, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/which-download-should-i-use/155339 "2008-12-13T16:28:41Z")

</div>

in the next couple of days i am going to download and install both ruby and rails and was wondering if i should use “instant raila” or the "one click installer? i just want to make sure i get everything i need to use …

---

## [Many projects, with the same framework](https://www.ruby-forum.com/t/many-projects-with-the-same-framework/154027)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 1\
**Last updated:** [December 12, 2008, 7:23am UTC](https://www.ruby-forum.com/t/many-projects-with-the-same-framework/154027 "2008-12-12T07:23:10Z")

</div>

I have many websites but much the same framework for each of them. The only differences being the views, the styles, the databases and deploy.rb. What’s the best way to arrange things in version control e.g. svn so t…

---

## [Installation frustation!](https://www.ruby-forum.com/t/installation-frustation/155362)

<div class="topic-metadata">

**Author:** [@daveh0](https://www.ruby-forum.com/u/daveh0)\
**Replies:** 0\
**Last updated:** [December 11, 2008, 1:29am UTC](https://www.ruby-forum.com/t/installation-frustation/155362 "2008-12-11T01:29:12Z")

</div>

i just tried downloading instantrails and it didn’t work! i was told to go to ruby forge and download a zip file but there was no zip file just an exe. file. it didn’t work, any suggestions where i can find a site tha…

---

## [Mongrel death](https://www.ruby-forum.com/t/mongrel-death/154020)

<div class="topic-metadata">

**Author:** [@sshingler](https://www.ruby-forum.com/u/sshingler)\
**Replies:** 1\
**Last updated:** [December 10, 2008, 3:42pm UTC](https://www.ruby-forum.com/t/mongrel-death/154020 "2008-12-10T15:42:37Z")

</div>

Mongrel on Windows: Our internal app keeps dying with a seg fault. Is there a way to catch this event with another app/Mongrel service, or something… to push a msg to the client browser? We need some way to notify th…

---

## [Svn not recognized as an internal or external command](https://www.ruby-forum.com/t/svn-not-recognized-as-an-internal-or-external-command/154099)

<div class="topic-metadata">

**Author:** [@katsuo](https://www.ruby-forum.com/u/katsuo)\
**Replies:** 2\
**Last updated:** [December 5, 2008, 3:00am UTC](https://www.ruby-forum.com/t/svn-not-recognized-as-an-internal-or-external-command/154099 "2008-12-05T03:00:45Z")

</div>

Hi, I am trying to deploy my app to a repository and encountered the following problem. When I do svn checkout at command prompt , I get this error; ‘svn not recognized as an internal or external command’ I am on Win…

---

## [Dev mode ok, prod mode application failed error](https://www.ruby-forum.com/t/dev-mode-ok-prod-mode-application-failed-error/154611)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 0\
**Last updated:** [December 2, 2008, 4:57am UTC](https://www.ruby-forum.com/t/dev-mode-ok-prod-mode-application-failed-error/154611 "2008-12-02T04:57:04Z")

</div>

Hello, I’m new to RoR and trying to deploy a RoR2 app. It works in development mode, but when I switch to production mode by uncommenting the ENV\[‘RAILS\_ENV’\] ||= ‘production’ line in config/environment.rb, I get the…

---

## [Finding out if ISP web server supports Ruby/Rails](https://www.ruby-forum.com/t/finding-out-if-isp-web-server-supports-ruby-rails/154561)

<div class="topic-metadata">

**Author:** [@ptriller](https://www.ruby-forum.com/u/ptriller)\
**Replies:** 1\
**Last updated:** [December 1, 2008, 11:28pm UTC](https://www.ruby-forum.com/t/finding-out-if-isp-web-server-supports-ruby-rails/154561 "2008-12-01T23:28:06Z")

</div>

My ISP is Rogers.com (in Ontario Canada). I have found out that their web server is Apache 2.0.52 by using cURL HEAD. My question is how do I find out if they support Ruby/Rails? I.E. if they are running the needed e…

---

## [Starting a small project](https://www.ruby-forum.com/t/starting-a-small-project/154453)

<div class="topic-metadata">

**Author:** [@einar](https://www.ruby-forum.com/u/einar)\
**Replies:** 1\
**Last updated:** [November 30, 2008, 1:55pm UTC](https://www.ruby-forum.com/t/starting-a-small-project/154453 "2008-11-30T13:55:36Z")

</div>

I want to create a small project in Ruby, but I need some help to get started. I will be altering HTML text with the program.

---

## [MySQL Sockets](https://www.ruby-forum.com/t/mysql-sockets/154447)

<div class="topic-metadata">

**Author:** [@deadinplastic](https://www.ruby-forum.com/u/deadinplastic)\
**Replies:** 0\
**Last updated:** [November 29, 2008, 7:59pm UTC](https://www.ruby-forum.com/t/mysql-sockets/154447 "2008-11-29T19:59:02Z")

</div>

Hello, I’m trying to get a rails app running (on Amazon EC2 using Paul Dowman’s ec2onrails) The server is configured, but I can’t reach a page. Going to the root page brings up the familiar ‘You’re riding Ruby on Ra…

---

## ["undefined local variable or method" in view, for "if var"](https://www.ruby-forum.com/t/undefined-local-variable-or-method-in-view-for-if-var/153974)

<div class="topic-metadata">

**Author:** [@squ](https://www.ruby-forum.com/u/squ)\
**Replies:** 0\
**Last updated:** [November 24, 2008, 7:09am UTC](https://www.ruby-forum.com/t/undefined-local-variable-or-method-in-view-for-if-var/153974 "2008-11-24T07:09:13Z")

</div>

Hey, this feels like a dumb question, but I feel like this should be working. I have a partial, and sometimes when I render it I’m passing in a variable via :locals called “invisible”, because sometimes I want it to …

---

## [Expire\_fragment Strange behavior](https://www.ruby-forum.com/t/expire-fragment-strange-behavior/153969)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 1\
**Last updated:** [November 24, 2008, 6:10am UTC](https://www.ruby-forum.com/t/expire-fragment-strange-behavior/153969 "2008-11-24T06:10:24Z")

</div>

I’m following railscasts tutorial on fragment caching, everything works great except for the sweepers. When i put expire\_fragment(%r{.\*}) directly in my controller, i can expire my fragments with wonderful ease. Yet w…

---

## [No success deploying Typo (latest trunk from github)](https://www.ruby-forum.com/t/no-success-deploying-typo-latest-trunk-from-github/153925)

<div class="topic-metadata">

**Author:** [@polarapfel](https://www.ruby-forum.com/u/polarapfel)\
**Replies:** 0\
**Last updated:** [November 23, 2008, 2:55am UTC](https://www.ruby-forum.com/t/no-success-deploying-typo-latest-trunk-from-github/153925 "2008-11-23T02:55:19Z")

</div>

Hi everybody, I am still struggling to get Typo running using Phusion Passenger on a Debian Etch setup with Apache 2.2. I’ve got Typo git-cloned into /home/www/typo with the typo subdirectory owned by www-data:www-da…

---

## [Out of memory, malloc failed](https://www.ruby-forum.com/t/out-of-memory-malloc-failed/153745)

<div class="topic-metadata">

**Author:** [@justus](https://www.ruby-forum.com/u/justus)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 6:57pm UTC](https://www.ruby-forum.com/t/out-of-memory-malloc-failed/153745 "2008-11-20T18:57:50Z")

</div>

Hello, After having done hundreds of successfull deployments of updates to my aplication, suddenly I have run into the following error message: ‘fatal: Out of memory, malloc failed fatal: unpack-objects failed’ This…

---

## [Redirect app to 2 URLs](https://www.ruby-forum.com/t/redirect-app-to-2-urls/153726)

<div class="topic-metadata">

**Author:** [@srinathbtech](https://www.ruby-forum.com/u/srinathbtech)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 4:25pm UTC](https://www.ruby-forum.com/t/redirect-app-to-2-urls/153726 "2008-11-20T16:25:32Z")

</div>

Hi, I was wondering how to redirect my app to two different URLs, i am using apache over mongrel and running under production env. i have 2 domains located say www.domain1.com and www.domain2.com. when i hit www.doma…

---

## [Nginx timeout](https://www.ruby-forum.com/t/nginx-timeout/93180)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 2\
**Last updated:** [November 20, 2008, 12:53pm UTC](https://www.ruby-forum.com/t/nginx-timeout/93180 "2008-11-20T12:53:05Z")

</div>

I just deployed a rails app using nginx/mongrel. The app takes a file and then parses it, and does a bunch of stuff. It worked fine with straight mongrel and with straight lighttpd, but on nginx/mongrel I get a 504 …

---

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

<div class="topic-metadata">

**Author:** [@chandu4ruby](https://www.ruby-forum.com/u/chandu4ruby)\
**Replies:** 1\
**Last updated:** [November 11, 2008, 2:07am UTC](https://www.ruby-forum.com/t/problem-starting-mongrel/153008 "2008-11-11T02:07:08Z")

</div>

Hi, I am newbie started learning ruby on rails i had an application which used to run pretty well latter i upgraded from webbrick to mongrel 1.1.5 then I am getting the foloowing errors and a default application runs…

---

## [Migrating data from old databse structure to new db structure](https://www.ruby-forum.com/t/migrating-data-from-old-databse-structure-to-new-db-structure/152716)

<div class="topic-metadata">

**Author:** [@sri](https://www.ruby-forum.com/u/sri)\
**Replies:** 3\
**Last updated:** [November 8, 2008, 6:34pm UTC](https://www.ruby-forum.com/t/migrating-data-from-old-databse-structure-to-new-db-structure/152716 "2008-11-08T18:34:17Z")

</div>

Hi, I’m working on the phase 2 development of my project. Phase 1 of this project is currently used by lot of people. In Phase 2, there are some new features and the database structure and relationships are different…

---

## [Possible to run rails 1.2.x and 2.0.x on the same host?](https://www.ruby-forum.com/t/possible-to-run-rails-1-2-x-and-2-0-x-on-the-same-host/145784)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [November 7, 2008, 3:31am UTC](https://www.ruby-forum.com/t/possible-to-run-rails-1-2-x-and-2-0-x-on-the-same-host/145784 "2008-11-07T03:31:01Z")

</div>

Hello, Does anyone have experience running multiple versions of rails on a single host? Is this even a reasonable suggestion? Thanks.

---

## [DB tables inexistant online but there in console](https://www.ruby-forum.com/t/db-tables-inexistant-online-but-there-in-console/152548)

<div class="topic-metadata">

**Author:** [@thithi32](https://www.ruby-forum.com/u/thithi32)\
**Replies:** 0\
**Last updated:** [November 5, 2008, 3:13am UTC](https://www.ruby-forum.com/t/db-tables-inexistant-online-but-there-in-console/152548 "2008-11-05T03:13:47Z")

</div>

Hi, I’m quite close achiving my first Cap Deploy … but something strange is happening: I did the “cap deploy” of the deploy.rb following: set :application, “league” set :repository, “http://ksXXXXX.kimsufi.com/sv…

---

## [Cap: 'No such file or directory' when doing 'cap:update'](https://www.ruby-forum.com/t/cap-no-such-file-or-directory-when-doing-cap-update/152532)

<div class="topic-metadata">

**Author:** [@thithi32](https://www.ruby-forum.com/u/thithi32)\
**Replies:** 2\
**Last updated:** [November 5, 2008, 1:14am UTC](https://www.ruby-forum.com/t/cap-no-such-file-or-directory-when-doing-cap-update/152532 "2008-11-05T01:14:26Z")

</div>

Hello, I stuck with this for a few hours … Can anyone help me (I’m new with Cap) …\>cap deploy:update executing \`deploy:update’ \*\* transaction: start executing \`deploy:update\_code’ \*\*\* \[deploy:update\_code\] rolling b…

---

## [J2ee and rails proejct with one jboss webserver](https://www.ruby-forum.com/t/j2ee-and-rails-proejct-with-one-jboss-webserver/152111)

<div class="topic-metadata">

**Author:** [@thaniyarasu](https://www.ruby-forum.com/u/thaniyarasu)\
**Replies:** 3\
**Last updated:** [November 3, 2008, 5:22am UTC](https://www.ruby-forum.com/t/j2ee-and-rails-proejct-with-one-jboss-webserver/152111 "2008-11-03T05:22:38Z")

</div>

i am new to rails(version-2.1.1) Already i have a j2ee project running on jboss server. i want to add some extra functionality(which is i have created in a new Rails project) into that j2ee project. i want to deploy …

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

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