# Deployment

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

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

---

## [Phusion passenger with netbeans to debug the rails applicati](https://www.ruby-forum.com/t/phusion-passenger-with-netbeans-to-debug-the-rails-applicati/180314)

<div class="topic-metadata">

**Author:** [@periyasamy](https://www.ruby-forum.com/u/periyasamy)\
**Replies:** 0\
**Last updated:** [December 17, 2009, 7:27am UTC](https://www.ruby-forum.com/t/phusion-passenger-with-netbeans-to-debug-the-rails-applicati/180314 "2009-12-17T07:27:15Z")

</div>

Hi, I am using centOS system and I am running the rails application using Phusion passenger. I want to run the rails application with Phusion passenger and NetBeans. Particularly i want to debug the rails application…

---

## [Rails start/stop without using mongrel](https://www.ruby-forum.com/t/rails-start-stop-without-using-mongrel/179954)

<div class="topic-metadata">

**Author:** [@periyasamy](https://www.ruby-forum.com/u/periyasamy)\
**Replies:** 1\
**Last updated:** [December 9, 2009, 10:30am UTC](https://www.ruby-forum.com/t/rails-start-stop-without-using-mongrel/179954 "2009-12-09T10:30:46Z")

</div>

Hi, I have to get rid of Mongrel and process the http requests directly from Tomcat/Apach. Is there any tool or do we have to handle in code?. How to run the rails application without using mongrel. Can you guys repl…

---

## [Nginx + modrails + gzip](https://www.ruby-forum.com/t/nginx-modrails-gzip/174055)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 2\
**Last updated:** [December 4, 2009, 10:45pm UTC](https://www.ruby-forum.com/t/nginx-modrails-gzip/174055 "2009-12-04T22:45:11Z")

</div>

I’m running a stack using modrails with the compiled version of nginx. I turned on gzip in my /opt/nginx/conf/nginx.conf file but Yslow still shows that we aren’t gzipping. Any hints as to what might be happening? He…

---

## [Deployment problem](https://www.ruby-forum.com/t/deployment-problem/179777)

<div class="topic-metadata">

**Author:** [@palani](https://www.ruby-forum.com/u/palani)\
**Replies:** 1\
**Last updated:** [December 4, 2009, 10:35pm UTC](https://www.ruby-forum.com/t/deployment-problem/179777 "2009-12-04T22:35:58Z")

</div>

Hi when do the cap deploy for my Ruby on Rails application. i faced the following error. cap deploy executing \`deploy’ executing \`deploy:update’ \*\* transaction: start executing \`deploy:update\_code’ executing locall…

---

## [Form\_tag issue](https://www.ruby-forum.com/t/form-tag-issue/179146)

<div class="topic-metadata">

**Author:** [@Rajeswar\_reddy\_G](https://www.ruby-forum.com/u/Rajeswar_reddy_G)\
**Replies:** 1\
**Last updated:** [November 18, 2009, 1:44pm UTC](https://www.ruby-forum.com/t/form-tag-issue/179146 "2009-11-18T13:44:56Z")

</div>

Hi, I below coded saved in new.rhtml(C:\\RubyForRails\\railsapps\\phonebook\\app\\views\\phonenumber) file and executed . But while accessing getting below issue. Add new phonenumber \<% form\_tag '/create' do %\> PersonNa…

---

## [Not toable to login as admin](https://www.ruby-forum.com/t/not-toable-to-login-as-admin/179092)

<div class="topic-metadata">

**Author:** [@divyanshutri](https://www.ruby-forum.com/u/divyanshutri)\
**Replies:** 0\
**Last updated:** [November 17, 2009, 1:39pm UTC](https://www.ruby-forum.com/t/not-toable-to-login-as-admin/179092 "2009-11-17T13:39:42Z")

</div>

hi any one cn tell me the solution of the problem…!!! -/!\\ FAILSAFE /!\\ Tue Nov 17 17:42:14 +0530 2009 Status: 500 Internal Server Error no such file to load – sqlite3 /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_re…

---

## [Css and js gzip Compression](https://www.ruby-forum.com/t/css-and-js-gzip-compression/179000)

<div class="topic-metadata">

**Author:** [@xinu](https://www.ruby-forum.com/u/xinu)\
**Replies:** 0\
**Last updated:** [November 15, 2009, 12:16pm UTC](https://www.ruby-forum.com/t/css-and-js-gzip-compression/179000 "2009-11-15T12:16:01Z")

</div>

hi. I use apache with passenger and I want to enable the gzip Compression. I use the apache sample configuration mod\_deflate - Apache HTTP Server with following filters AddOutputFilterByType DEFLATE text/html text/p…

---

## [Calculate rebate in a web shop](https://www.ruby-forum.com/t/calculate-rebate-in-a-web-shop/178907)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 0\
**Last updated:** [November 13, 2009, 11:14am UTC](https://www.ruby-forum.com/t/calculate-rebate-in-a-web-shop/178907 "2009-11-13T11:14:59Z")

</div>

My 2 brain cells have difficulties with this problem. I’m creating a web shop where each item has a price. If you buy 3 you get a lower price for each item and then even lower when you buy 6. Each item in the product …

---

## [How to generate sql eports](https://www.ruby-forum.com/t/how-to-generate-sql-eports/178668)

<div class="topic-metadata">

**Author:** [@mgatri](https://www.ruby-forum.com/u/mgatri)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 9:04am UTC](https://www.ruby-forum.com/t/how-to-generate-sql-eports/178668 "2009-11-09T09:04:38Z")

</div>

Dear all, Iâ€™m developing an application dedicated to generate statistical reports, I would like that user after saving their stat report they save sql queries too. To do that I wrote the following module: module Sq…

---

## [Installing Ruby on 64 bit Windows 7](https://www.ruby-forum.com/t/installing-ruby-on-64-bit-windows-7/178632)

<div class="topic-metadata">

**Author:** [@tobyr](https://www.ruby-forum.com/u/tobyr)\
**Replies:** 1\
**Last updated:** [November 8, 2009, 5:23pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-64-bit-windows-7/178632 "2009-11-08T17:23:46Z")

</div>

Is there anything I need to know about in order to install Ruby on a 64bit Windows 7 system? For example, can I just use the 1-click installer for 1.8.6 and get a simple and reliable system? Or do I need to download…

---

## [Fetching data from two or more tables](https://www.ruby-forum.com/t/fetching-data-from-two-or-more-tables/160434)

<div class="topic-metadata">

**Author:** [@tnyplz](https://www.ruby-forum.com/u/tnyplz)\
**Replies:** 1\
**Last updated:** [November 7, 2009, 7:34am UTC](https://www.ruby-forum.com/t/fetching-data-from-two-or-more-tables/160434 "2009-11-07T07:34:09Z")

</div>

Hi all, Say, I have two tables (requirements & projreqs)and want to execute the following query. SELECT \* FROM requirements WHERE(id = (SELECT req\_id FROM projreqs WHERE proj\_id = ?)); Being a newbie in Ruby, I know…

---

## [Unable to install gem passenger on Windows xp](https://www.ruby-forum.com/t/unable-to-install-gem-passenger-on-windows-xp/178538)

<div class="topic-metadata">

**Author:** [@anilbhat21](https://www.ruby-forum.com/u/anilbhat21)\
**Replies:** 0\
**Last updated:** [November 6, 2009, 5:07am UTC](https://www.ruby-forum.com/t/unable-to-install-gem-passenger-on-windows-xp/178538 "2009-11-06T05:07:58Z")

</div>

I tried to use “gem install passenger” on windows xp but couldn’t do it. If anyone has tried it, please share the experience…

---

## [Capistrano undefined current\_path error](https://www.ruby-forum.com/t/capistrano-undefined-current-path-error/171862)

<div class="topic-metadata">

**Author:** [@artchrst](https://www.ruby-forum.com/u/artchrst)\
**Replies:** 1\
**Last updated:** [November 4, 2009, 3:57pm UTC](https://www.ruby-forum.com/t/capistrano-undefined-current-path-error/171862 "2009-11-04T15:57:54Z")

</div>

Hi Guys, I’ve tried to use capistrano (2.5 or 2.5.8) in my Window to deploy the project. I found the following weird error for not finding current\_path. I have no clue why this happened. it seems that the error occur…

---

## [Apache 2+ mongrel proxy severs](https://www.ruby-forum.com/t/apache-2-mongrel-proxy-severs/177958)

<div class="topic-metadata">

**Author:** [@salil](https://www.ruby-forum.com/u/salil)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 9:16am UTC](https://www.ruby-forum.com/t/apache-2-mongrel-proxy-severs/177958 "2009-10-27T09:16:45Z")

</div>

Hi All, I want to deploymen the application on client server. I want to start application on server combination of Apache + 2 mongrel proxy severs as a load balancers. We will need mongrel clusters to be created. T…

---

## [How to Read attachent coming from a webservice](https://www.ruby-forum.com/t/how-to-read-attachent-coming-from-a-webservice/177906)

<div class="topic-metadata">

**Author:** [@santoshturamari](https://www.ruby-forum.com/u/santoshturamari)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 3:53pm UTC](https://www.ruby-forum.com/t/how-to-read-attachent-coming-from-a-webservice/177906 "2009-10-26T15:53:23Z")

</div>

Hi All, I am having problem reading a file witch is coming from a web service. When I execute my web service method it retunes a response with an attachment. How to save this attachment in rails application?

---

## [Net::SSH AuthenticationFailed on some hosts but 'ssh' works](https://www.ruby-forum.com/t/net-ssh-authenticationfailed-on-some-hosts-but-ssh-works/157223)

<div class="topic-metadata">

**Author:** [@badger](https://www.ruby-forum.com/u/badger)\
**Replies:** 2\
**Last updated:** [October 23, 2009, 7:27am UTC](https://www.ruby-forum.com/t/net-ssh-authenticationfailed-on-some-hosts-but-ssh-works/157223 "2009-10-23T07:27:32Z")

</div>

I have a custom capistrano recipe that runs commands on a couple of remote hosts, using publickey ssh, and has been working for several months. Recently (in the last week or so), something changed I have not been able…

---

## [Mongrel big trouble with --prefix and rendering](https://www.ruby-forum.com/t/mongrel-big-trouble-with-prefix-and-rendering/177742)

<div class="topic-metadata">

**Author:** [@mex23](https://www.ruby-forum.com/u/mex23)\
**Replies:** 0\
**Last updated:** [October 22, 2009, 8:49pm UTC](https://www.ruby-forum.com/t/mongrel-big-trouble-with-prefix-and-rendering/177742 "2009-10-22T20:49:00Z")

</div>

Hi folks, I have got a big problem out here. I’m using a mongrel cluster with --prefix parameter, but something very strange it’s happening; rails redirection happens without troubles, and I’m redirected to the righ…

---

## [Public/.htaccess has to be recreated manually everytime?](https://www.ruby-forum.com/t/public-htaccess-has-to-be-recreated-manually-everytime/177678)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 9:24pm UTC](https://www.ruby-forum.com/t/public-htaccess-has-to-be-recreated-manually-everytime/177678 "2009-10-21T21:24:48Z")

</div>

Hi all I’m deploying my Rails app using capistrano. Everything works great, except that I always have to recreate my .htaccess file in the public directory. How should I fix this? Thanks Josh

---

## [Script/process/reaper: No such file or directory](https://www.ruby-forum.com/t/script-process-reaper-no-such-file-or-directory/177680)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 9:22pm UTC](https://www.ruby-forum.com/t/script-process-reaper-no-such-file-or-directory/177680 "2009-10-21T21:22:44Z")

</div>

Hi all I’m trying to deploy an app using Capistrano. So far so good, everything works quite fine, except restarting the application. I guess it has something to do with the output script/process/reaper: No such file …

---

## [AJAX/RJS Question](https://www.ruby-forum.com/t/ajax-rjs-question/177100)

<div class="topic-metadata">

**Author:** [@vanderkerkoff](https://www.ruby-forum.com/u/vanderkerkoff)\
**Replies:** 1\
**Last updated:** [October 11, 2009, 6:56pm UTC](https://www.ruby-forum.com/t/ajax-rjs-question/177100 "2009-10-11T18:56:36Z")

</div>

Hello everyone! How are you doing? I am creating a rails app that handles customer records, etc. But, I am having trouble with some javascript/ajax stuff. When creating a customer, the employee will enter in the maili…

---

## [Schema\_migrations table not created](https://www.ruby-forum.com/t/schema-migrations-table-not-created/176824)

<div class="topic-metadata">

**Author:** [@terrii](https://www.ruby-forum.com/u/terrii)\
**Replies:** 0\
**Last updated:** [October 6, 2009, 6:31pm UTC](https://www.ruby-forum.com/t/schema-migrations-table-not-created/176824 "2009-10-06T18:31:59Z")

</div>

Hi - We’ve got a Rails application/Oracle database that we just upgraded from Rails 1.2 to 2.3.2 We did not have any database structural modifications, and thus did not need to run any migrations. However, the deplo…

---

## [Mongrel hanging with high CPU usage](https://www.ruby-forum.com/t/mongrel-hanging-with-high-cpu-usage/140833)

<div class="topic-metadata">

**Author:** [@jfrench](https://www.ruby-forum.com/u/jfrench)\
**Replies:** 8\
**Last updated:** [October 6, 2009, 5:35am UTC](https://www.ruby-forum.com/t/mongrel-hanging-with-high-cpu-usage/140833 "2009-10-06T05:35:52Z")

</div>

I’m running a mongrel cluster behind Apache + mod\_proxy. Several times a day, one Mongrel will spike to 99-101% CPU usage and freeze there. The standard mongrel\_rails restart command won’t affect it, nor will it respo…

---

## [How to refresh views without restarting web server?](https://www.ruby-forum.com/t/how-to-refresh-views-without-restarting-web-server/176714)

<div class="topic-metadata">

**Author:** [@kuanfai](https://www.ruby-forum.com/u/kuanfai)\
**Replies:** 0\
**Last updated:** [October 5, 2009, 11:45am UTC](https://www.ruby-forum.com/t/how-to-refresh-views-without-restarting-web-server/176714 "2009-10-05T11:45:40Z")

</div>

I am running ROR 2.2.2 with Fastcgi. I changed one of my view files, anyone knows how to make the view to take effect without restarting my web server? Thanks.

---

## [Apache2 proxy problem](https://www.ruby-forum.com/t/apache2-proxy-problem/176388)

<div class="topic-metadata">

**Author:** [@gorter9](https://www.ruby-forum.com/u/gorter9)\
**Replies:** 1\
**Last updated:** [September 30, 2009, 2:06am UTC](https://www.ruby-forum.com/t/apache2-proxy-problem/176388 "2009-09-30T02:06:12Z")

</div>

I installed a new VPS and everything works well except the virtualhosts on Apache2.2 I have done this before but for now i can’t find why it doesn’t work. This is my virtual host \<VirtualHost \*\> ServerName gerdagor…

---

## [How to validate presence of phone number or mobile phone](https://www.ruby-forum.com/t/how-to-validate-presence-of-phone-number-or-mobile-phone/176277)

<div class="topic-metadata">

**Author:** [@thriving](https://www.ruby-forum.com/u/thriving)\
**Replies:** 1\
**Last updated:** [September 29, 2009, 1:03pm UTC](https://www.ruby-forum.com/t/how-to-validate-presence-of-phone-number-or-mobile-phone/176277 "2009-09-29T13:03:20Z")

</div>

In my model of user.rb there are phone number and mobile number. i want to validate if phone number and mobile number are exist or not(not neccessary to do both). how to do that

---

## [How to generate password automatically using authlogic](https://www.ruby-forum.com/t/how-to-generate-password-automatically-using-authlogic/175980)

<div class="topic-metadata">

**Author:** [@thriving](https://www.ruby-forum.com/u/thriving)\
**Replies:** 1\
**Last updated:** [September 24, 2009, 4:32am UTC](https://www.ruby-forum.com/t/how-to-generate-password-automatically-using-authlogic/175980 "2009-09-24T04:32:14Z")

</div>

I have problem , i want to generate password automatically where can i manipulate :password and :confirm\_password in action create def create @user = User.new(params\[:user\]) if @user.save flash\[:notice\] = “Registrat…

---

## [Setting up Rails with MS SQL](https://www.ruby-forum.com/t/setting-up-rails-with-ms-sql/169586)

<div class="topic-metadata">

**Author:** [@nnexican](https://www.ruby-forum.com/u/nnexican)\
**Replies:** 1\
**Last updated:** [September 10, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/setting-up-rails-with-ms-sql/169586 "2009-09-10T20:57:16Z")

</div>

Hello everyone. I am trying to get Rails working with MS SQL. I have updated database.yml in my application, intalled the activerecord-sqlserver-adapter gem as well as the deprecated gem. I have also downloaded ADO.rb…

---

## [Attach tar.gz file on rails email](https://www.ruby-forum.com/t/attach-tar-gz-file-on-rails-email/175278)

<div class="topic-metadata">

**Author:** [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Replies:** 0\
**Last updated:** [September 10, 2009, 2:24pm UTC](https://www.ruby-forum.com/t/attach-tar-gz-file-on-rails-email/175278 "2009-09-10T14:24:45Z")

</div>

How to send attached tar.gz file on ruby mail sending. If anyone aware already, please let me know. Regards, S.Vellingiri.

---

## [ActiveResource How to set site at runtime?](https://www.ruby-forum.com/t/activeresource-how-to-set-site-at-runtime/175042)

<div class="topic-metadata">

**Author:** [@aftershock](https://www.ruby-forum.com/u/aftershock)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 11:04pm UTC](https://www.ruby-forum.com/t/activeresource-how-to-set-site-at-runtime/175042 "2009-09-06T23:04:34Z")

</div>

I have a number of ActiveResource classes that I won’t know the site for until runtime. The current definition for one of these resources looks like this class ResourceSiteDetail \< ActiveResource self.element\_name = …

---

## [Limit Months displayed select\_date](https://www.ruby-forum.com/t/limit-months-displayed-select-date/174103)

<div class="topic-metadata">

**Author:** [@knappe](https://www.ruby-forum.com/u/knappe)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:06pm UTC](https://www.ruby-forum.com/t/limit-months-displayed-select-date/174103 "2009-08-20T22:06:18Z")

</div>

I have the following code: \<%#= select\_date(Time.now, :order =\> \[:month, :day, :year \], :datetime\_separator =\> ‘-’, :time\_separator =\> ‘:’, :discard\_seconds =\> true, :discard\_minutes =\> true, :start\_month =\> Time.now.…

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

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