# Deployment

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

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

---

## [500.html pstore.rb File too large - session//ruby\_sess](https://www.ruby-forum.com/t/500-html-pstore-rb-file-too-large-session-ruby-sess/127531)

<div class="topic-metadata">

**Author:** [@slashdotted](https://www.ruby-forum.com/u/slashdotted)\
**Replies:** 0\
**Last updated:** [January 30, 2008, 3:47am UTC](https://www.ruby-forum.com/t/500-html-pstore-rb-file-too-large-session-ruby-sess/127531 "2008-01-30T03:47:20Z")

</div>

Hi, I get 500.html error, and have done everything: .htaccess, give all permissions, etc. It neither works on webrick (locally), nor on Apache (on http). (The public/index.html shows up, but if I go to any pages in …

---

## [Mongrel won't start](https://www.ruby-forum.com/t/mongrel-wont-start/127270)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 2\
**Last updated:** [January 29, 2008, 2:10am UTC](https://www.ruby-forum.com/t/mongrel-wont-start/127270 "2008-01-29T02:10:28Z")

</div>

after doing some server updates I can no longer start mongrel or at least get it working. I get 404’s whenever I now try to access a dynamic page. This is what I get when I run cap deploy:restart \*\* \[out :: li21-118…

---

## [Rails Deployment 101 Tutorials](https://www.ruby-forum.com/t/rails-deployment-101-tutorials/126911)

<div class="topic-metadata">

**Author:** [@Brian\_Moschel](https://www.ruby-forum.com/u/Brian_Moschel)\
**Replies:** 2\
**Last updated:** [January 28, 2008, 9:43am UTC](https://www.ruby-forum.com/t/rails-deployment-101-tutorials/126911 "2008-01-28T09:43:44Z")

</div>

Just wanted to point out a link to some tutorials on deploying Rails with Mongrel, Apache, and Capistrano. I’ve included solutions to many of the common issues that you’ll run into when using this deployment pattern. …

---

## [Esquema Public in Postgres](https://www.ruby-forum.com/t/esquema-public-in-postgres/127310)

<div class="topic-metadata">

**Author:** [@jarrouj](https://www.ruby-forum.com/u/jarrouj)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 3:33am UTC](https://www.ruby-forum.com/t/esquema-public-in-postgres/127310 "2008-01-28T03:33:03Z")

</div>

Hello People, I am working with Postgres as BD and want to create a scheme that is not public. Since I can do to construct the controller.

---

## [Trying to find where Java "JRE" is located on Ubuntu 7.10 machine?](https://www.ruby-forum.com/t/trying-to-find-where-java-jre-is-located-on-ubuntu-7-10-machine/196571)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [January 27, 2008, 12:06pm UTC](https://www.ruby-forum.com/t/trying-to-find-where-java-jre-is-located-on-ubuntu-7-10-machine/196571 "2008-01-27T12:06:56Z")

</div>

I’ve spent the last year developing a large Ruby on Rails 2.0 application with over a 100 tables and controllers and hope to be deploying it soon. Before I moved from my Windows XP computer to deployment, I wanted to …

---

## [Apache 2.2 / mod\_proxy\_balancer... 160 req per second?](https://www.ruby-forum.com/t/apache-2-2-mod-proxy-balancer-160-req-per-second/126519)

<div class="topic-metadata">

**Author:** [@jeffct](https://www.ruby-forum.com/u/jeffct)\
**Replies:** 7\
**Last updated:** [January 26, 2008, 4:13am UTC](https://www.ruby-forum.com/t/apache-2-2-mod-proxy-balancer-160-req-per-second/126519 "2008-01-26T04:13:53Z")

</div>

I’m testing a deployment on a dedicated server (dual core AMD with about 2GB ram, 100Mbps uplink) with Apache 2.2.3 (CentOS 5 build from yum), mod proxy balancer, and mongrel. I can get Apache to serve static files at…

---

## [Changes to mongrel\_cluster.yml isn't taking](https://www.ruby-forum.com/t/changes-to-mongrel-cluster-yml-isnt-taking/125768)

<div class="topic-metadata">

**Author:** [@mememe](https://www.ruby-forum.com/u/mememe)\
**Replies:** 5\
**Last updated:** [January 25, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/changes-to-mongrel-cluster-yml-isnt-taking/125768 "2008-01-25T16:44:24Z")

</div>

So, I’ve been able to deploy a single app just fine. But in my attempts to run multiple rails apps within the same domain, I made a change by adding prefix: /app1 to my mongrel\_cluster.yml file. Using Capistrano, …

---

## [Multistage and mongrel\_cluster.yml](https://www.ruby-forum.com/t/multistage-and-mongrel-cluster-yml/126987)

<div class="topic-metadata">

**Author:** [@mememe](https://www.ruby-forum.com/u/mememe)\
**Replies:** 2\
**Last updated:** [January 24, 2008, 5:32pm UTC](https://www.ruby-forum.com/t/multistage-and-mongrel-cluster-yml/126987 "2008-01-24T17:32:08Z")

</div>

When using multistage, how does one control cwd in mongrel\_cluster.yml? Or do you just end up using different mongrel\_cluster files, each with a different cwd setting, and then setting :mongrel\_conf accordingly in de…

---

## [Failed to load Rails: Could not find RubyGem jruby-openssl](https://www.ruby-forum.com/t/failed-to-load-rails-could-not-find-rubygem-jruby-openssl/126918)

<div class="topic-metadata">

**Author:** [@bharathchunchu](https://www.ruby-forum.com/u/bharathchunchu)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 1:04pm UTC](https://www.ruby-forum.com/t/failed-to-load-rails-could-not-find-rubygem-jruby-openssl/126918 "2008-01-23T13:04:58Z")

</div>

Hi, I am new to Rails.I am trying to run rails application in Tomcat. I am getting the fallowing error. INFO: Failed to load Rails: Could not find RubyGem jruby-openssl (\>= 0.0.0) But I have installed JRuby-openssl …

---

## [Mongrel: compiling the http1.1 parser issue](https://www.ruby-forum.com/t/mongrel-compiling-the-http1-1-parser-issue/126910)

<div class="topic-metadata">

**Author:** [@deliak](https://www.ruby-forum.com/u/deliak)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 12:19pm UTC](https://www.ruby-forum.com/t/mongrel-compiling-the-http1-1-parser-issue/126910 "2008-01-23T12:19:35Z")

</div>

Has anyone experience of compiling the http 1.1 parser on his own? I do have to cross compile it for an embedded device in order to install mongrel and I get an handful of compilation errors…

---

## [How to pause between mongrel stop and start in "cap deploy"](https://www.ruby-forum.com/t/how-to-pause-between-mongrel-stop-and-start-in-cap-deploy/117253)

<div class="topic-metadata">

**Author:** [@dxk3355](https://www.ruby-forum.com/u/dxk3355)\
**Replies:** 2\
**Last updated:** [January 22, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/how-to-pause-between-mongrel-stop-and-start-in-cap-deploy/117253 "2008-01-22T20:38:58Z")

</div>

Hi! Sometimes when doing “cap deploy”, the process finishes by: \*\* \[out :: unebo\] stopping port 6500 \*\* \[out :: unebo\] already started port 6500 command finished It seems that mongrel didn’t have the time to stop be…

---

## [Prob on Dreamhost](https://www.ruby-forum.com/t/prob-on-dreamhost/126852)

<div class="topic-metadata">

**Author:** [@bobm](https://www.ruby-forum.com/u/bobm)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 8:15pm UTC](https://www.ruby-forum.com/t/prob-on-dreamhost/126852 "2008-01-22T20:15:43Z")

</div>

I created a vanilla app on Dreamhost in the hope to at least get “Welcome” to display. the URL I use is www.globalhealthsources.net/sample.com I do a remapping to ~/ ghsrc/sample.com. when I add “public” to path…

---

## [Strange issue with rmagick](https://www.ruby-forum.com/t/strange-issue-with-rmagick/126850)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/strange-issue-with-rmagick/126850 "2008-01-22T20:05:10Z")

</div>

I’m having a problem on my production site where rmagick won’t resize images. The code works on my local machne so I’m wondering what the issue could be. WORKS: Development: Rails 2.0.2, Rmagick 2.1.0, Imagemagick…

---

## [Problem deploying Rails 2.0.2 app in Tomcat](https://www.ruby-forum.com/t/problem-deploying-rails-2-0-2-app-in-tomcat/126811)

<div class="topic-metadata">

**Author:** [@bharathchunchu](https://www.ruby-forum.com/u/bharathchunchu)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 1:57pm UTC](https://www.ruby-forum.com/t/problem-deploying-rails-2-0-2-app-in-tomcat/126811 "2008-01-22T13:57:56Z")

</div>

Hi, I am trying to run rails application in Tomcat.While running I am getting fallowing exception. I am using JRuby-1.0.3 version. Jan 22, 2008 4:15:26 PM org.apache.catalina.core.ApplicationContext log INFO: Faile…

---

## [Mysql::Error: Lock wait timeout exceeded;](https://www.ruby-forum.com/t/mysql-lock-wait-timeout-exceeded/126673)

<div class="topic-metadata">

**Author:** [@stanislavb](https://www.ruby-forum.com/u/stanislavb)\
**Replies:** 2\
**Last updated:** [January 22, 2008, 2:14am UTC](https://www.ruby-forum.com/t/mysql-lock-wait-timeout-exceeded/126673 "2008-01-22T02:14:12Z")

</div>

Hi, My application throws some “Mysql::Error: Lock wait timeout” from time to time. I think it coincides with the upgrade of Rails to version 2.0.2 . The exact error is this: Mysql::Error: Lock wait timeout exceeded;…

---

## [Like to hire help to get Rails - MySQL - Ngnix - Mongrel - Capistrano going](https://www.ruby-forum.com/t/like-to-hire-help-to-get-rails-mysql-ngnix-mongrel-capistrano-going/126557)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 8\
**Last updated:** [January 20, 2008, 6:18pm UTC](https://www.ruby-forum.com/t/like-to-hire-help-to-get-rails-mysql-ngnix-mongrel-capistrano-going/126557 "2008-01-20T18:18:54Z")

</div>

I’ve enjoyed the Google Rails forum for about a year now while I’ve completed my Rails 2.0 application and waited until the end to figure out deployment. I’ve spent the last two weeks pouring over the many web posts a…

---

## [Lighttpd or Ngnix](https://www.ruby-forum.com/t/lighttpd-or-ngnix/126541)

<div class="topic-metadata">

**Author:** [@ayyanar](https://www.ruby-forum.com/u/ayyanar)\
**Replies:** 2\
**Last updated:** [January 20, 2008, 9:27am UTC](https://www.ruby-forum.com/t/lighttpd-or-ngnix/126541 "2008-01-20T09:27:10Z")

</div>

Hi, Lighttpd or Ngnix. Which one is best for production env? Kindly throw some reasons for the best one, and also for the worst one. Ayyanar

---

## [Erreur accÃ¨s WebService REST](https://www.ruby-forum.com/t/erreur-acca-s-webservice-rest/196576)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 2\
**Last updated:** [January 17, 2008, 10:19am UTC](https://www.ruby-forum.com/t/erreur-acca-s-webservice-rest/196576 "2008-01-17T10:19:54Z")

</div>

I am trying to write a REST web service testing locally is fine but whane I deploy the server and try test it via curl curl -i -X POST -H ‘Content-Type:application/xml’ -d ‘’ http://mytesteddomain.tld/user/posts/crea…

---

## [Translating this test using Mocha](https://www.ruby-forum.com/t/translating-this-test-using-mocha/126162)

<div class="topic-metadata">

**Author:** [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Replies:** 0\
**Last updated:** [January 15, 2008, 10:40pm UTC](https://www.ruby-forum.com/t/translating-this-test-using-mocha/126162 "2008-01-15T22:40:01Z")

</div>

Hello, I’m trying to learn Mocha and having a bit of problems how to translate some of my tests to the mocha world. For example - I’m trying to convert this simple test: \[code\] def test\_get\_feed\_details\_w\_bad\_url a…

---

## [The connection was reset](https://www.ruby-forum.com/t/the-connection-was-reset/126090)

<div class="topic-metadata">

**Author:** [@mdebajo](https://www.ruby-forum.com/u/mdebajo)\
**Replies:** 0\
**Last updated:** [January 15, 2008, 11:36am UTC](https://www.ruby-forum.com/t/the-connection-was-reset/126090 "2008-01-15T11:36:01Z")

</div>

Hi! Firefox sometimes shows “The connection was reset. The connection to the server was reset while the page was loading.” while uploading files. Below are the details of the server. OS: Gentoo Webserver: nginx ( mo…

---

## [Considering Vlad for deployment with nginx](https://www.ruby-forum.com/t/considering-vlad-for-deployment-with-nginx/126017)

<div class="topic-metadata">

**Author:** [@roundabout](https://www.ruby-forum.com/u/roundabout)\
**Replies:** 0\
**Last updated:** [January 14, 2008, 6:48pm UTC](https://www.ruby-forum.com/t/considering-vlad-for-deployment-with-nginx/126017 "2008-01-14T18:48:23Z")

</div>

Considering Vlad for deployment instead of Capistrano. Anyone had success stories or nginx recipes to share? Anything special required, e.g. setting up mongrel processes differently? Cheers, Victor

---

## [Php proxy](https://www.ruby-forum.com/t/php-proxy/126014)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [January 14, 2008, 6:26pm UTC](https://www.ruby-forum.com/t/php-proxy/126014 "2008-01-14T18:26:59Z")

</div>

will repost this here: Wondering if anyone’s heard of a php script that will ‘forward’ your requests on to, say, a mongrel instance, and return it? Kind of a php fcgi (mongrel) wrapper? Thoughts? I’m trying to figu…

---

## [Hiding Mongrel version from Server Header](https://www.ruby-forum.com/t/hiding-mongrel-version-from-server-header/125716)

<div class="topic-metadata">

**Author:** [@ole](https://www.ruby-forum.com/u/ole)\
**Replies:** 1\
**Last updated:** [January 13, 2008, 6:13pm UTC](https://www.ruby-forum.com/t/hiding-mongrel-version-from-server-header/125716 "2008-01-13T18:13:21Z")

</div>

Does anybody know of a way to hide the version number from the server request header that Mongrel serves. This is what clients currently see: Server: Mongrel 1.1.3 I would prefer: Server: Mongrel for security reaso…

---

## [Apache + Mongrel + Static files](https://www.ruby-forum.com/t/apache-mongrel-static-files/123545)

<div class="topic-metadata">

**Author:** [@2dc](https://www.ruby-forum.com/u/2dc)\
**Replies:** 8\
**Last updated:** [January 13, 2008, 12:42pm UTC](https://www.ruby-forum.com/t/apache-mongrel-static-files/123545 "2008-01-13T12:42:55Z")

</div>

Hi! I deployed my first rails application on my own server (I’m using Apache 2.2.6 + Mongrel). It’s working perfectly and I’m very happy. The only one problem is that it is very slow to render the layout at the firs…

---

## [Nginx Reverse Proxy--What is http://mongel?](https://www.ruby-forum.com/t/nginx-reverse-proxy-what-is-http-mongel/107850)

<div class="topic-metadata">

**Author:** [@Matt\_Culbreth](https://www.ruby-forum.com/u/Matt_Culbreth)\
**Replies:** 1\
**Last updated:** [January 12, 2008, 8:48pm UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-what-is-http-mongel/107850 "2008-01-12T20:48:56Z")

</div>

Hello Group, I’ve got my Rails app deployed as a Mongrel cluster behind an Nginx reverse proxy. It’s working great except for one small issue: if I have code that does a redirect\_to , the browser is redirecting to h…

---

## [CORE\_RL\_magick\_.dll not found](https://www.ruby-forum.com/t/core-rl-magick-dll-not-found/125688)

<div class="topic-metadata">

**Author:** [@nikhilvaghela](https://www.ruby-forum.com/u/nikhilvaghela)\
**Replies:** 2\
**Last updated:** [January 11, 2008, 4:05pm UTC](https://www.ruby-forum.com/t/core-rl-magick-dll-not-found/125688 "2008-01-11T16:05:51Z")

</div>

Hii, I am trying to run RmagicK 1.15 on WIn 2000 with ruby 1.8.6 and gem 1.0.1. i am getting an error CORE\_RL\_magick\_.dll not found inspite of repeated installation. i am not sure where Rmagick is comaptable wit…

---

## [Good Host for Facebook Rails App?](https://www.ruby-forum.com/t/good-host-for-facebook-rails-app/117568)

<div class="topic-metadata">

**Author:** [@dkanders](https://www.ruby-forum.com/u/dkanders)\
**Replies:** 6\
**Last updated:** [January 10, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/good-host-for-facebook-rails-app/117568 "2008-01-10T15:07:02Z")

</div>

Hi All, Wondering if anyone knows any pros/cons to any of the different rails hosting providers… I’m deploying a facebook app and am wondering where to host it… Right now, I have a hostingrails.com account, but am wo…

---

## [Adding my appname to the URL](https://www.ruby-forum.com/t/adding-my-appname-to-the-url/124281)

<div class="topic-metadata">

**Author:** [@shafi](https://www.ruby-forum.com/u/shafi)\
**Replies:** 2\
**Last updated:** [January 10, 2008, 1:05am UTC](https://www.ruby-forum.com/t/adding-my-appname-to-the-url/124281 "2008-01-10T01:05:17Z")

</div>

Hi All, I need to get my Ruby on Rails application running on: http://IP:port/AppName/Controller/Action rather than: http://IP:port/Controller/Action directly That’s because I want to integrate it with facebook. I’…

---

## [Nginx Rewrite Questions](https://www.ruby-forum.com/t/nginx-rewrite-questions/125460)

<div class="topic-metadata">

**Author:** [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Replies:** 3\
**Last updated:** [January 9, 2008, 6:01pm UTC](https://www.ruby-forum.com/t/nginx-rewrite-questions/125460 "2008-01-09T18:01:25Z")

</div>

okay, well here’s the prob: I have a current site at domain.tld that site is now redirecting to forums.domain.tld; the rails app is planned to reside on domain.tld but all old urls domain.tld/forumdisplay.php? =5 for …

---

## [Create a folder save a file in that and zip the folder](https://www.ruby-forum.com/t/create-a-folder-save-a-file-in-that-and-zip-the-folder/125319)

<div class="topic-metadata">

**Author:** [@raju\_k](https://www.ruby-forum.com/u/raju_k)\
**Replies:** 2\
**Last updated:** [January 8, 2008, 7:32pm UTC](https://www.ruby-forum.com/t/create-a-folder-save-a-file-in-that-and-zip-the-folder/125319 "2008-01-08T19:32:56Z")

</div>

hi, can anyone help me. I want to create a folder, create another file of .url type and save the .url file in the folder and zip the folder. I am sending the code which I have written. dir\_name = Dir.new(“Institutio…

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

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