# Deployment

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

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

---

## [Executing rake tasks with cron](https://www.ruby-forum.com/t/executing-rake-tasks-with-cron/125969)

<div class="topic-metadata">

**Author:** [@stanislavb](https://www.ruby-forum.com/u/stanislavb)\
**Replies:** 11\
**Last updated:** [June 8, 2008, 4:57am UTC](https://www.ruby-forum.com/t/executing-rake-tasks-with-cron/125969 "2008-06-08T04:57:59Z")

</div>

Hi, I have a kind of problems with executing rake tasks as cron jobs. These problems began after upgrading to Rails 2.0.2. So, these are the errors that I have Cannot find gem for Rails ~\>2.0.2.0: Install the missing…

---

## [RAILS\_ENV = "production" does not work](https://www.ruby-forum.com/t/rails-env-production-does-not-work/121976)

<div class="topic-metadata">

**Author:** [@subroutine](https://www.ruby-forum.com/u/subroutine)\
**Replies:** 5\
**Last updated:** [June 7, 2008, 11:53pm UTC](https://www.ruby-forum.com/t/rails-env-production-does-not-work/121976 "2008-06-07T23:53:01Z")

</div>

I recently deployed my application and it works fine except for one minor detail: I cannot change the environment from development to production. My environment.rb has the first line #1 ENV\[“RAILS\_ENV”\] = “productio…

---

## [Rails tool, let me know your thoughts](https://www.ruby-forum.com/t/rails-tool-let-me-know-your-thoughts/139649)

<div class="topic-metadata">

**Author:** [@Elizabeth\_B](https://www.ruby-forum.com/u/Elizabeth_B)\
**Replies:** 0\
**Last updated:** [June 5, 2008, 7:32pm UTC](https://www.ruby-forum.com/t/rails-tool-let-me-know-your-thoughts/139649 "2008-06-05T19:32:32Z")

</div>

Hi Everyone, I hope you find this useful…please make suggestions on how to make this more valuable to people who want to learn RoR/ how to get this into the hands of more developers… http://www.yoyobrain.com/cardboxe…

---

## [Job: Ruby on rails developer](https://www.ruby-forum.com/t/job-ruby-on-rails-developer/139487)

<div class="topic-metadata">

**Author:** [@ludmilavolkova](https://www.ruby-forum.com/u/ludmilavolkova)\
**Replies:** 0\
**Last updated:** [June 4, 2008, 11:57am UTC](https://www.ruby-forum.com/t/job-ruby-on-rails-developer/139487 "2008-06-04T11:57:49Z")

</div>

Looking for an experienced developer who is comfortable with dynamic programming languages, web application development, and building clean, scalable, testable code. The candidate will be an active member of the team,…

---

## [\[ANN\] Moved rubber to github](https://www.ruby-forum.com/t/ann-moved-rubber-to-github/139464)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 0\
**Last updated:** [June 4, 2008, 4:48am UTC](https://www.ruby-forum.com/t/ann-moved-rubber-to-github/139464 "2008-06-04T04:48:25Z")

</div>

I recently moved my rubber deployment plugin to github. For those new to rubber, it enables relatively complex multi-instance deployments of rails apps to Amazon’s Elastic Compute Cloud (EC2). See the wiki page on g…

---

## [Mongrel Timed Out in production](https://www.ruby-forum.com/t/mongrel-timed-out-in-production/139232)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 6:22am UTC](https://www.ruby-forum.com/t/mongrel-timed-out-in-production/139232 "2008-06-02T06:22:55Z")

</div>

I have deployed a rails app in Rails 2.0.2 and the db in mysql is on another box. When I have this kind of set up , i keep getting this error: Mongrel::TimeoutError (Mongrel timed out this thread: shutdown): /usr/lib…

---

## [How do i do to make my local project run on the server](https://www.ruby-forum.com/t/how-do-i-do-to-make-my-local-project-run-on-the-server/138600)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 6\
**Last updated:** [May 29, 2008, 12:39pm UTC](https://www.ruby-forum.com/t/how-do-i-do-to-make-my-local-project-run-on-the-server/138600 "2008-05-29T12:39:54Z")

</div>

I have finished my project locally and got a webhost whose domain is: http://omega.phost.ws:2082/.Now i have to use cpanel to deploy my project.But i don’t know how to. 1.All the files in my project have to be upload …

---

## [Capistrano mongrel\_rails cluster::restart problem](https://www.ruby-forum.com/t/capistrano-mongrel-rails-cluster-restart-problem/138870)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 1\
**Last updated:** [May 29, 2008, 12:56am UTC](https://www.ruby-forum.com/t/capistrano-mongrel-rails-cluster-restart-problem/138870 "2008-05-29T00:56:02Z")

</div>

Hi, I have a rails on ubuntu deployment stack which consists of: locally: cap 2.3.0 and all latest deps server side: apache 2.3, mongrel\_cluster, mod\_proxy and git on the same host. I am connecting via ssh with agen…

---

## [OpenVZ versus Xen or others](https://www.ruby-forum.com/t/openvz-versus-xen-or-others/84924)

<div class="topic-metadata">

**Author:** [@raul](https://www.ruby-forum.com/u/raul)\
**Replies:** 12\
**Last updated:** [May 28, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/openvz-versus-xen-or-others/84924 "2008-05-28T17:20:41Z")

</div>

Hi again. All the great assistance so far has moved me along. I’m still a Linux noob but I’ve settled on CentOS 4.4 and have it up and running on a test server right now. I’ll be testing two scenarios: one with Ap…

---

## [What is the best hosting provider for an enterprise scale Rails application?](https://www.ruby-forum.com/t/what-is-the-best-hosting-provider-for-an-enterprise-scale-rails-application/138858)

<div class="topic-metadata">

**Author:** [@Ivan\_V](https://www.ruby-forum.com/u/Ivan_V)\
**Replies:** 1\
**Last updated:** [May 28, 2008, 2:27pm UTC](https://www.ruby-forum.com/t/what-is-the-best-hosting-provider-for-an-enterprise-scale-rails-application/138858 "2008-05-28T14:27:40Z")

</div>

We have just finished the early stages of testing our application and are looking to roll it out to our customers in the coming weeks (approx 12000 of them), our application manages financial transactions and has a hu…

---

## [Ultrasphinx geolookup distance returns NaN value](https://www.ruby-forum.com/t/ultrasphinx-geolookup-distance-returns-nan-value/138780)

<div class="topic-metadata">

**Author:** [@veeraa2003](https://www.ruby-forum.com/u/veeraa2003)\
**Replies:** 0\
**Last updated:** [May 27, 2008, 5:43pm UTC](https://www.ruby-forum.com/t/ultrasphinx-geolookup-distance-returns-nan-value/138780 "2008-05-27T17:43:31Z")

</div>

Hi all, I’m trying to use geo-location based search using sphinx, Here my search query. @search = Ultrasphinx::Search.new(:sort\_mode =\> ‘extended’, :sort\_by =\> ‘distance’, :location =\> {:units =\> ‘degrees’, :lat =\> 4…

---

## [Problems With Rails Deployment](https://www.ruby-forum.com/t/problems-with-rails-deployment/137799)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 2\
**Last updated:** [May 27, 2008, 3:46pm UTC](https://www.ruby-forum.com/t/problems-with-rails-deployment/137799 "2008-05-27T15:46:02Z")

</div>

Good Afternoon, I am fairly new to Ruby on Rails and im am having countless problems with the deployment of a eccommerce site onto a linux server, i am currently onto my second hosting company (www.eukhost.com) and ha…

---

## [Rmagic not crop graphics interchange format image properly](https://www.ruby-forum.com/t/rmagic-not-crop-graphics-interchange-format-image-properly/196693)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 0\
**Last updated:** [May 27, 2008, 12:38pm UTC](https://www.ruby-forum.com/t/rmagic-not-crop-graphics-interchange-format-image-properly/196693 "2008-05-27T12:38:00Z")

</div>

Rmagic not crop graphics interchange format image properly. so how to do this?

---

## [Is there a way to freeze Rails \_after\_ the fact?](https://www.ruby-forum.com/t/is-there-a-way-to-freeze-rails-after-the-fact/138608)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 3\
**Last updated:** [May 26, 2008, 2:36pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-freeze-rails-after-the-fact/138608 "2008-05-26T14:36:28Z")

</div>

I’ve got a managed VPS (the hosting service provides support) and they just did an unannounced upgrade to Rails 2.0. My app is 1.2.x. Is there a way to freeze Rails and the other gems my app needs to a prior version…

---

## [Problem creating database](https://www.ruby-forum.com/t/problem-creating-database/138260)

<div class="topic-metadata">

**Author:** [@yuwtnb](https://www.ruby-forum.com/u/yuwtnb)\
**Replies:** 4\
**Last updated:** [May 26, 2008, 2:03am UTC](https://www.ruby-forum.com/t/problem-creating-database/138260 "2008-05-26T02:03:25Z")

</div>

Hello I have a problem with creating the database using rake command I have executed the following command but failed. \[root@essen test\]# rake db\_setup --trace (in /usr/local/lib/ruby/coreware) \*\* Invoke db\_setup (…

---

## [Deploying rails application on the Internet](https://www.ruby-forum.com/t/deploying-rails-application-on-the-internet/137699)

<div class="topic-metadata">

**Author:** [@nico10gbb](https://www.ruby-forum.com/u/nico10gbb)\
**Replies:** 1\
**Last updated:** [May 22, 2008, 1:29pm UTC](https://www.ruby-forum.com/t/deploying-rails-application-on-the-internet/137699 "2008-05-22T13:29:22Z")

</div>

I use Apache, Mongrel and Capistrano. When I execute cap deploy it works fine. I have 2 Mongrel server running on the port 8000 et 8001. Well, I have an important question now. I want get my rails application up on …

---

## [Mod\_passenger and mod\_php in same virtual host](https://www.ruby-forum.com/t/mod-passenger-and-mod-php-in-same-virtual-host/137890)

<div class="topic-metadata">

**Author:** [@benni](https://www.ruby-forum.com/u/benni)\
**Replies:** 3\
**Last updated:** [May 21, 2008, 8:56pm UTC](https://www.ruby-forum.com/t/mod-passenger-and-mod-php-in-same-virtual-host/137890 "2008-05-21T20:56:49Z")

</div>

hey I would like to use an self-made rails app with a media-wiki in the SAME virtual host. the routing should work like following: domain.net/ → rails app domain.net/wiki/ → mediawiki My vhost configuration looks li…

---

## [Detect test cases are currently running](https://www.ruby-forum.com/t/detect-test-cases-are-currently-running/137860)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 2\
**Last updated:** [May 17, 2008, 12:25am UTC](https://www.ruby-forum.com/t/detect-test-cases-are-currently-running/137860 "2008-05-17T00:25:49Z")

</div>

How do I know in my code that Im in the middle of running test cases. I thought there was a “$TESTING” variable that I could check but that one is always empty. I would like to be able to know whether or not to load i…

---

## [Server Specs for deployment](https://www.ruby-forum.com/t/server-specs-for-deployment/137646)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 3\
**Last updated:** [May 16, 2008, 12:17pm UTC](https://www.ruby-forum.com/t/server-specs-for-deployment/137646 "2008-05-16T12:17:13Z")

</div>

The rails app I have created is an online assessment for 3rd - 5th graders. When the project goes into production there will be 300-400 kids accessing the site at the same time. I have been speeking with several hos…

---

## [New way to deploy a Rails application on Windows as a servic](https://www.ruby-forum.com/t/new-way-to-deploy-a-rails-application-on-windows-as-a-servic/137582)

<div class="topic-metadata">

**Author:** [@jedi\_aka](https://www.ruby-forum.com/u/jedi_aka)\
**Replies:** 1\
**Last updated:** [May 14, 2008, 1:26pm UTC](https://www.ruby-forum.com/t/new-way-to-deploy-a-rails-application-on-windows-as-a-servic/137582 "2008-05-14T13:26:56Z")

</div>

This just came up on SourceForge.net Its an installer that enables you to run a rail application on a window server as a service. You can start and stop it, and it auto-starts on reboot. It only requires a working ve…

---

## [Signup Form](https://www.ruby-forum.com/t/signup-form/137436)

<div class="topic-metadata">

**Author:** [@prionko](https://www.ruby-forum.com/u/prionko)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/signup-form/137436 "2008-05-13T18:41:45Z")

</div>

Hi, Im creating a user registration form for an application.I dont want that the user to enter the password during the signing up, but he should enter his password only after he clicks on the activation link from the …

---

## [Extreme memory leak](https://www.ruby-forum.com/t/extreme-memory-leak/137467)

<div class="topic-metadata">

**Author:** [@radamanthus](https://www.ruby-forum.com/u/radamanthus)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 1:34pm UTC](https://www.ruby-forum.com/t/extreme-memory-leak/137467 "2008-05-13T13:34:41Z")

</div>

Hi folks, I have a production setup that isn’t live yet (\<500 visitors per day) but the mongrels are already misbehaving. monit has been configured to restart mongrels that are consuming more than 170MB. What I obser…

---

## [Has anyone used the thumb nail generator plugin](https://www.ruby-forum.com/t/has-anyone-used-the-thumb-nail-generator-plugin/137331)

<div class="topic-metadata">

**Author:** [@luke001](https://www.ruby-forum.com/u/luke001)\
**Replies:** 2\
**Last updated:** [May 13, 2008, 6:26am UTC](https://www.ruby-forum.com/t/has-anyone-used-the-thumb-nail-generator-plugin/137331 "2008-05-13T06:26:00Z")

</div>

I just installed this thumbnail generator http://www.cleverleap.com/ruby-thumbnail-generator/ and with it gd2 and the gd2 ruby binding library. Has anyone used this. I am trying to create thumbnails from my images a…

---

## [Depot Application](https://www.ruby-forum.com/t/depot-application/137137)

<div class="topic-metadata">

**Author:** [@vijay](https://www.ruby-forum.com/u/vijay)\
**Replies:** 1\
**Last updated:** [May 11, 2008, 4:02pm UTC](https://www.ruby-forum.com/t/depot-application/137137 "2008-05-11T16:02:46Z")

</div>

Hello All, I am doing the depot appliction. I was first installed Instant Rails 2.0 on my machine. got error in getting scaffold :product then after searching in forum took the 1.2.6 version using the below command …

---

## [Capistrano Best Practices: Users + Permissions](https://www.ruby-forum.com/t/capistrano-best-practices-users-permissions/137061)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 2\
**Last updated:** [May 10, 2008, 4:30pm UTC](https://www.ruby-forum.com/t/capistrano-best-practices-users-permissions/137061 "2008-05-10T16:30:41Z")

</div>

Hello! What would people recommend for a best practice Capistrano config, specifically re: users and permissions? My current config is something like: Have a non-root user setup on my remote box (which is the web, a…

---

## [Ruby suddenly stoped working](https://www.ruby-forum.com/t/ruby-suddenly-stoped-working/137222)

<div class="topic-metadata">

**Author:** [@bonnmos](https://www.ruby-forum.com/u/bonnmos)\
**Replies:** 0\
**Last updated:** [May 10, 2008, 9:41am UTC](https://www.ruby-forum.com/t/ruby-suddenly-stoped-working/137222 "2008-05-10T09:41:33Z")

</div>

I am new to ruby. Installed v 1.8.6 with rubygems 1.0.9 yesterday, 9 May. Everything was working last night but stopped today when i booted my laptop. Running vista ultimate. The ‘ruby’ command is not recognised. I’v…

---

## [Webservice error: SOAP::HTTPStreamError](https://www.ruby-forum.com/t/webservice-error-soap-httpstreamerror/136912)

<div class="topic-metadata">

**Author:** [@huynd](https://www.ruby-forum.com/u/huynd)\
**Replies:** 1\
**Last updated:** [May 8, 2008, 5:08am UTC](https://www.ruby-forum.com/t/webservice-error-soap-httpstreamerror/136912 "2008-05-08T05:08:16Z")

</div>

hi all, i have learned the ROR for one month. i have a small web service program. my program have some file divide into some folder: in the apis folder: user\_api.rb feedback\_api.rb in the model folders: user.rb fe…

---

## [Errors in production environment](https://www.ruby-forum.com/t/errors-in-production-environment/136849)

<div class="topic-metadata">

**Author:** [@sdpurtill](https://www.ruby-forum.com/u/sdpurtill)\
**Replies:** 1\
**Last updated:** [May 7, 2008, 6:12pm UTC](https://www.ruby-forum.com/t/errors-in-production-environment/136849 "2008-05-07T18:12:30Z")

</div>

Hi all. I switched to production environment for my rails app. My production environment is an apache2+mongrel. All worked fine, but I have a problem: when an error is generated all debug infos come out, as like as i…

---

## [Securring a rails app deployed with passenger](https://www.ruby-forum.com/t/securring-a-rails-app-deployed-with-passenger/136697)

<div class="topic-metadata">

**Author:** [@rasmus](https://www.ruby-forum.com/u/rasmus)\
**Replies:** 3\
**Last updated:** [May 6, 2008, 4:58pm UTC](https://www.ruby-forum.com/t/securring-a-rails-app-deployed-with-passenger/136697 "2008-05-06T16:58:40Z")

</div>

Hi guys, I want my rails app to be accessible from certain IPs only. I tried to archieve this the way I was used to it in the PHP-world (in apache vhost-setup): \<VirtualHost \*:80\> ServerName my.domain.com DocumentR…

---

## [Capistrano and after/before task...what's wrong?](https://www.ruby-forum.com/t/capistrano-and-after-before-task-whats-wrong/136737)

<div class="topic-metadata">

**Author:** [@xdmx](https://www.ruby-forum.com/u/xdmx)\
**Replies:** 1\
**Last updated:** [May 6, 2008, 12:39am UTC](https://www.ruby-forum.com/t/capistrano-and-after-before-task-whats-wrong/136737 "2008-05-06T00:39:12Z")

</div>

Hi, i’m setting up capistrano, but i’ve a “little” problem to run a custom task after the finalize\_update, or after the symlink task. Actually i’ve this in my deploy.rb after :finalize\_update, :symlink\_shared\_stuff d…

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

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