# Deployment

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

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

---

## [Schema\_migrations and schema\_info](https://www.ruby-forum.com/t/schema-migrations-and-schema-info/157199)

<div class="topic-metadata">

**Author:** [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Replies:** 1\
**Last updated:** [August 18, 2009, 10:03am UTC](https://www.ruby-forum.com/t/schema-migrations-and-schema-info/157199 "2009-08-18T10:03:05Z")

</div>

i’m using Aptana Studio for developing my rails application, and it generates migrations files with names like 20090107231713\_name\_of\_migration. Sequence number of migration is generated from current timestamp. In my …

---

## [Restful question](https://www.ruby-forum.com/t/restful-question/173903)

<div class="topic-metadata">

**Author:** [@mpaxton](https://www.ruby-forum.com/u/mpaxton)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 1:40am UTC](https://www.ruby-forum.com/t/restful-question/173903 "2009-08-18T01:40:23Z")

</div>

So I have an index.html.erb form and I’m trying to link it to an email form I created. I used the link below: \<%= link\_to ‘Email us’, contact\_number\_path %\> now I believe the layout is something like this: \<%= link\_t…

---

## [Controller mail method](https://www.ruby-forum.com/t/controller-mail-method/173904)

<div class="topic-metadata">

**Author:** [@mpaxton](https://www.ruby-forum.com/u/mpaxton)\
**Replies:** 1\
**Last updated:** [August 18, 2009, 1:35am UTC](https://www.ruby-forum.com/t/controller-mail-method/173904 "2009-08-18T01:35:45Z")

</div>

I have the following method in my controller: def send\_contact\_request @contact = Contact.new(params\[‘contact’\]) if @contact.save begin Mailer::deliver\_contact\_message(@contact) flash\[:notice\] = "Success!â€ redir…

---

## [How can I upload a file without file dialog](https://www.ruby-forum.com/t/how-can-i-upload-a-file-without-file-dialog/173877)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 0\
**Last updated:** [August 17, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/how-can-i-upload-a-file-without-file-dialog/173877 "2009-08-17T15:56:46Z")

</div>

I want to send about 3M data to server,and I save it to a file so I know every thing about the file.Now how can I upload the file without file field

---

## [How can I use the request](https://www.ruby-forum.com/t/how-can-i-use-the-request/173873)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 0\
**Last updated:** [August 17, 2009, 3:48pm UTC](https://www.ruby-forum.com/t/how-can-i-use-the-request/173873 "2009-08-17T15:48:08Z")

</div>

I want to upload a file,and I can’t use the file upload dialog.I use xmlhttp to send the file in a xmlhttp request,and how can I get the file at serverside? Here is the client code

---

## [Mysql ruby deployment gem ...bla bla](https://www.ruby-forum.com/t/mysql-ruby-deployment-gem-bla-bla/173693)

<div class="topic-metadata">

**Author:** [@jasonwold](https://www.ruby-forum.com/u/jasonwold)\
**Replies:** 3\
**Last updated:** [August 13, 2009, 5:54pm UTC](https://www.ruby-forum.com/t/mysql-ruby-deployment-gem-bla-bla/173693 "2009-08-13T17:54:36Z")

</div>

“gem install mysql” failed. This might be another stupid question, but really block me for couple of days. I tried gem: gem install mysql – --with-mysql-config=/usr/bin/mysql\_config and got: ERROR: Error installing…

---

## [Rails JSR286 portlets](https://www.ruby-forum.com/t/rails-jsr286-portlets/173352)

<div class="topic-metadata">

**Author:** [@srinathbtech](https://www.ruby-forum.com/u/srinathbtech)\
**Replies:** 0\
**Last updated:** [August 7, 2009, 8:37am UTC](https://www.ruby-forum.com/t/rails-jsr286-portlets/173352 "2009-08-07T08:37:59Z")

</div>

Hi, I created rails application and when i tried to build portlets i was getting an error . Please see my steps srinath@srinath-laptop:~$ rails example srinath@srinath-laptop:~$ cd example/ srinath@srinath-laptop:~…

---

## [Unable to deploy ruby on rails app?](https://www.ruby-forum.com/t/unable-to-deploy-ruby-on-rails-app/173060)

<div class="topic-metadata">

**Author:** [@amyes](https://www.ruby-forum.com/u/amyes)\
**Replies:** 2\
**Last updated:** [August 1, 2009, 3:27pm UTC](https://www.ruby-forum.com/t/unable-to-deploy-ruby-on-rails-app/173060 "2009-08-01T15:27:28Z")

</div>

I am unable to run ruby on rails application. I setup the database and loaded database schema. When I run: ruby script/server -e production It says: =\> Booting Mongrel =\> Rails 2.3.2 application starting on http://0…

---

## [Rails query loading bug or not?](https://www.ruby-forum.com/t/rails-query-loading-bug-or-not/172784)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 0\
**Last updated:** [July 28, 2009, 1:34am UTC](https://www.ruby-forum.com/t/rails-query-loading-bug-or-not/172784 "2009-07-28T01:34:46Z")

</div>

I noticed that when I was formatting my code, because I have a very long query being built I made it easier for myself by separating the lines one by one, for viewing. But, when testing, I noticed that my query went …

---

## [Simple post action help needed](https://www.ruby-forum.com/t/simple-post-action-help-needed/172472)

<div class="topic-metadata">

**Author:** [@mpaxton](https://www.ruby-forum.com/u/mpaxton)\
**Replies:** 1\
**Last updated:** [July 23, 2009, 12:58am UTC](https://www.ruby-forum.com/t/simple-post-action-help-needed/172472 "2009-07-23T00:58:53Z")

</div>

I have a controller called mystuff\_controller.rb, a db called mpstuff and a table inside that db called data and a column called m1. I was hoping that some could give a quick step by step on how to create a post actio…

---

## [Problems with activerecord/oracle addapter](https://www.ruby-forum.com/t/problems-with-activerecord-oracle-addapter/172220)

<div class="topic-metadata">

**Author:** [@diragor](https://www.ruby-forum.com/u/diragor)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 11:38pm UTC](https://www.ruby-forum.com/t/problems-with-activerecord-oracle-addapter/172220 "2009-07-16T23:38:25Z")

</div>

I am working on a project and we are having problems displaying utf8 charaters. my system specs & settings are: this is what i did and the outputs of it form ruby script/console. why is it doing this to me? data = …

---

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

<div class="topic-metadata">

**Author:** [@santoshturamari](https://www.ruby-forum.com/u/santoshturamari)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 7:44pm UTC](https://www.ruby-forum.com/t/mongrel-issue/172206 "2009-07-16T19:44:16Z")

</div>

Hello G.s, As our pids are getting lost again and again, we need to restart mongrel\_cluster again and again, I have one doubt that , for this we may need to configure mongrel\_cluster.yml, but I can find in that for th…

---

## [Rails 2.3.2, Apache2 and CGI not working](https://www.ruby-forum.com/t/rails-2-3-2-apache2-and-cgi-not-working/163725)

<div class="topic-metadata">

**Author:** [@futlib](https://www.ruby-forum.com/u/futlib)\
**Replies:** 5\
**Last updated:** [July 14, 2009, 11:54pm UTC](https://www.ruby-forum.com/t/rails-2-3-2-apache2-and-cgi-not-working/163725 "2009-07-14T23:54:25Z")

</div>

Hi, I am trying to deploy a trivial rails application on an apache server, using the, as I understand obsolete, CGI way. First of all, some versions: System: Debian 5.0 Apache: Apache 2.2.9 Ruby: 1.8.7 Gem: 1.3.1 …

---

## [Setting up nginx as reverse proxy for a mongrel\_cluster](https://www.ruby-forum.com/t/setting-up-nginx-as-reverse-proxy-for-a-mongrel-cluster/164466)

<div class="topic-metadata">

**Author:** [@balint](https://www.ruby-forum.com/u/balint)\
**Replies:** 2\
**Last updated:** [July 11, 2009, 11:59am UTC](https://www.ruby-forum.com/t/setting-up-nginx-as-reverse-proxy-for-a-mongrel-cluster/164466 "2009-07-11T11:59:55Z")

</div>

Hi, I have a nginx set up to reverse proxy to a mongrel\_cluster. The relevant part of the nginx config is below: upstream mongrel { server 127.0.0.1:8000; server 127.0.0.1:8001; server 127.0.0.1:8002; } server { …

---

## [Nginx + passenger FAILSAFE dispatch error](https://www.ruby-forum.com/t/nginx-passenger-failsafe-dispatch-error/171772)

<div class="topic-metadata">

**Author:** [@cpjolicoeur](https://www.ruby-forum.com/u/cpjolicoeur)\
**Replies:** 0\
**Last updated:** [July 8, 2009, 11:23pm UTC](https://www.ruby-forum.com/t/nginx-passenger-failsafe-dispatch-error/171772 "2009-07-08T23:23:56Z")

</div>

I’m having a very strange issue with a freshly deployed Rails app on a staging server. Up until this point all development has been done locally. I just setup the staging server and pushed the code to the staging se…

---

## [Can't seems to get rails app running with Passenger](https://www.ruby-forum.com/t/cant-seems-to-get-rails-app-running-with-passenger/167132)

<div class="topic-metadata">

**Author:** [@kmhui](https://www.ruby-forum.com/u/kmhui)\
**Replies:** 8\
**Last updated:** [July 8, 2009, 11:19pm UTC](https://www.ruby-forum.com/t/cant-seems-to-get-rails-app-running-with-passenger/167132 "2009-07-08T23:19:08Z")

</div>

Need help with deploying rails on Passenger in running on Apache. I am new to Ruby on Rails and deployment. What I have done so far is successfully installed Passenger into Apache 2.3 on my laptop. Followed the Passen…

---

## [Help convert php code to eruby?](https://www.ruby-forum.com/t/help-convert-php-code-to-eruby/196981)

<div class="topic-metadata">

**Author:** [@rayholland](https://www.ruby-forum.com/u/rayholland)\
**Replies:** 0\
**Last updated:** [July 8, 2009, 12:35am UTC](https://www.ruby-forum.com/t/help-convert-php-code-to-eruby/196981 "2009-07-08T00:35:29Z")

</div>

Hi, I want to convert my site from php to eruby(no rails). I’m really new to ruby and need some help. The most trival php code i use in my web-page is to use php for password protect my pages. Can someone help me to…

---

## [Rails rewrites URL by appending "dispatch.cgi" to URL](https://www.ruby-forum.com/t/rails-rewrites-url-by-appending-dispatch-cgi-to-url/167218)

<div class="topic-metadata">

**Author:** [@augusto](https://www.ruby-forum.com/u/augusto)\
**Replies:** 1\
**Last updated:** [July 7, 2009, 1:33pm UTC](https://www.ruby-forum.com/t/rails-rewrites-url-by-appending-dispatch-cgi-to-url/167218 "2009-07-07T13:33:27Z")

</div>

hi- i have a rails running on a server, but when i access my site as: “http://test.com” it rewrites the URL with the name of the dispatch.cgi script: “http://test.comdispatch.cgi%2Flist\_topics” which then fails to r…

---

## [Rake DB:Create works, but not DB:Migrate, Please help](https://www.ruby-forum.com/t/rake-db-create-works-but-not-db-migrate-please-help/167316)

<div class="topic-metadata">

**Author:** [@naturalkid](https://www.ruby-forum.com/u/naturalkid)\
**Replies:** 1\
**Last updated:** [July 7, 2009, 1:29pm UTC](https://www.ruby-forum.com/t/rake-db-create-works-but-not-db-migrate-please-help/167316 "2009-07-07T13:29:14Z")

</div>

Hi, Having a Postgres related database rake error, wonder if you can give me some suggestion to fix this issue: Environment: Ubuntu Desktop (9.04) 64-bit Postgres SQL 64-Bit (latest official release) Ruby-pg instal…

---

## [Not able to send mails using ruby on rails](https://www.ruby-forum.com/t/not-able-to-send-mails-using-ruby-on-rails/169658)

<div class="topic-metadata">

**Author:** [@devirv](https://www.ruby-forum.com/u/devirv)\
**Replies:** 1\
**Last updated:** [July 7, 2009, 1:27pm UTC](https://www.ruby-forum.com/t/not-able-to-send-mails-using-ruby-on-rails/169658 "2009-07-07T13:27:38Z")

</div>

In environment.rb below configuration details have used ActionMailer::Base.delivery\_method = :smtp ActionMailer::Base.smtp\_settings = { :address =\> “mydomain.com”, :port =\> xx, :domain =\> ‘mydomain.com’, :authentic…

---

## [Rails application failed to start properly](https://www.ruby-forum.com/t/rails-application-failed-to-start-properly/170665)

<div class="topic-metadata">

**Author:** [@preethi](https://www.ruby-forum.com/u/preethi)\
**Replies:** 2\
**Last updated:** [July 7, 2009, 1:20pm UTC](https://www.ruby-forum.com/t/rails-application-failed-to-start-properly/170665 "2009-07-07T13:20:00Z")

</div>

Hi I uploaded the rails project that i developed in Linux environment. Upload was successful and when i try to login to that website I’m getting the error “Rails application failed to start properly” What might be t…

---

## [Rails -v Error](https://www.ruby-forum.com/t/rails-v-error/170187)

<div class="topic-metadata">

**Author:** [@jford](https://www.ruby-forum.com/u/jford)\
**Replies:** 1\
**Last updated:** [July 7, 2009, 1:11pm UTC](https://www.ruby-forum.com/t/rails-v-error/170187 "2009-07-07T13:11:04Z")

</div>

Can anyone tell me why I’m getting this error? Thanks. Macintosh:~ jeff$ rails -v /usr/local/lib/ruby/1.8/yaml.rb:9:in require': no such file to load -- stringio (LoadError) from /usr/local/lib/ruby/1.8/yaml.rb:9 from …

---

## [FCKEditor and ActiveScaffold](https://www.ruby-forum.com/t/fckeditor-and-activescaffold/171610)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 0\
**Last updated:** [July 6, 2009, 4:47pm UTC](https://www.ruby-forum.com/t/fckeditor-and-activescaffold/171610 "2009-07-06T16:47:11Z")

</div>

Hi guys, I was just wondering if someone can give me some insight. I have fckeditor working with active scaffold after following the instructions here It works like a charm, but there is slight prob. Page has\_many…

---

## [Log viewer in GUI](https://www.ruby-forum.com/t/log-viewer-in-gui/171593)

<div class="topic-metadata">

**Author:** [@chandramit](https://www.ruby-forum.com/u/chandramit)\
**Replies:** 0\
**Last updated:** [July 6, 2009, 1:01pm UTC](https://www.ruby-forum.com/t/log-viewer-in-gui/171593 "2009-07-06T13:01:29Z")

</div>

Hi I would like integrate the production log in GUI … any suggesting plugins r methods ? Regard’s chandra sekhar

---

## [Access the web server for testing while in maintenance](https://www.ruby-forum.com/t/access-the-web-server-for-testing-while-in-maintenance/171304)

<div class="topic-metadata">

**Author:** [@feeling3\_4](https://www.ruby-forum.com/u/feeling3_4)\
**Replies:** 0\
**Last updated:** [June 30, 2009, 10:09am UTC](https://www.ruby-forum.com/t/access-the-web-server-for-testing-while-in-maintenance/171304 "2009-06-30T10:09:23Z")

</div>

i am using nginx proxying to haproxy proxying to thin when in maintenance mode(serving a maintenance page to end users), how can I still access the web server so that I can do some testing first? I want to be able to …

---

## [Mongrel Cluster help](https://www.ruby-forum.com/t/mongrel-cluster-help/169391)

<div class="topic-metadata">

**Author:** [@kingston](https://www.ruby-forum.com/u/kingston)\
**Replies:** 1\
**Last updated:** [June 29, 2009, 8:34am UTC](https://www.ruby-forum.com/t/mongrel-cluster-help/169391 "2009-06-29T08:34:10Z")

</div>

Hello i am newbie in rails I wanted to know what is mongrel cluster what it is used for wish some one can help me out thanks any way

---

## [Thread problem](https://www.ruby-forum.com/t/thread-problem/171181)

<div class="topic-metadata">

**Author:** [@felipegiotto](https://www.ruby-forum.com/u/felipegiotto)\
**Replies:** 0\
**Last updated:** [June 27, 2009, 9:31pm UTC](https://www.ruby-forum.com/t/thread-problem/171181 "2009-06-27T21:31:33Z")

</div>

Hi! I’m having a strange problem. I need to open a mongrel server (with mongrel\_service and Windows) and I also need to run tasks in parallel with mongrel. So, first I tried a Thread.new do … end in my environment.rb…

---

## [Gem path issue wiith passenger (n00b)dave](https://www.ruby-forum.com/t/gem-path-issue-wiith-passenger-n00b-dave/170958)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 2\
**Last updated:** [June 25, 2009, 1:29am UTC](https://www.ruby-forum.com/t/gem-path-issue-wiith-passenger-n00b-dave/170958 "2009-06-25T01:29:18Z")

</div>

Hi, I’m to stage my first rails deployment using passenger and have hit a snag. I think I’ve narrowed it down to a gem path issue. Trouble is, I don’t how to fix it. Can someone point me to the file(s) I need to edi…

---

## [Passenger no such file to load -- fastthread](https://www.ruby-forum.com/t/passenger-no-such-file-to-load-fastthread/169964)

<div class="topic-metadata">

**Author:** [@benol](https://www.ruby-forum.com/u/benol)\
**Replies:** 1\
**Last updated:** [June 10, 2009, 7:42pm UTC](https://www.ruby-forum.com/t/passenger-no-such-file-to-load-fastthread/169964 "2009-06-10T19:42:30Z")

</div>

Hi, Passenger does not see fastthread gem even though irb sees it. Any help appreciated. root@mymachine:/home/user1# tail /var/log/apache2/error.log \[Wed Jun 10 19:12:29 2009\] \[notice\] Apache/2.2.11 (Ubuntu) DAV/2 S…

---

## [Hostgator 404 errors](https://www.ruby-forum.com/t/hostgator-404-errors/169032)

<div class="topic-metadata">

**Author:** [@milandobrota](https://www.ruby-forum.com/u/milandobrota)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 4:20pm UTC](https://www.ruby-forum.com/t/hostgator-404-errors/169032 "2009-05-28T16:20:32Z")

</div>

Has anybody deployed on Hostgator? I keep getting 404 errors. My sample application works OK, but when I tried to deploy the real app, it wouldn’t work.

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

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