# Checklist for production deployment?

**URL:** <https://www.ruby-forum.com/t/checklist-for-production-deployment/121359>\
**Category:** Deployment\
**Created:** [November 27, 2007, 8:21am UTC](https://www.ruby-forum.com/t/checklist-for-production-deployment/121359 "2007-11-27T08:21:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [November 27, 2007, 8:21am UTC](https://www.ruby-forum.com/t/checklist-for-production-deployment/121359/1 "2007-11-27T08:21:36Z")

</div>

Here is my checklist for deployment in production mode. I do everything  
on this list, but my app still refuses to run in production mode. Does  
anybody know what I’m missing?

1. “mongrel\_rails start -d -e production -p 8000 -P log/mongrel8000.pid”  
for all of my mongrels.

2. In config/environment.rb: Uncomment this line: “ENV[‘RAILS\_ENV’] ||=  
‘production’”

3. force-reload Apache

4. restart mongrels with mongrel\_rails cluster::restart

Thanks for any advice you might have

sean

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [November 27, 2007, 10:21am UTC](https://www.ruby-forum.com/t/checklist-for-production-deployment/121359/2 "2007-11-27T10:21:57Z")

</div>

Have a look at your log files (production.log + mongrel.log). Can you  
see  
any errors?

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [November 27, 2007, 11:04am UTC](https://www.ruby-forum.com/t/checklist-for-production-deployment/121359/3 "2007-11-27T11:04:12Z")

</div>

i don’t know if you actually need to do those first two steps. the  
mongrels  
that are going be running will be from #4. they get their  
configuration from  
wherever you’ve got that set. some yml file somewhere.

i’ve got production set in my mongrel cluster configuration.

user: someuser  
cwd: /path/to/your/project/current  
port: “8400”  
environment: production  
group: admin  
address: 127.0.0.1  
pid\_file: log/mongrel.pid  
servers: 1

On Nov 27, 9:21 am, Sean C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
