# How to create the environment files for development, production and test?

**URL:** <https://www.ruby-forum.com/t/how-to-create-the-environment-files-for-development-production-and-test/163668>\
**Category:** Rails\
**Created:** [March 23, 2009, 7:47pm UTC](https://www.ruby-forum.com/t/how-to-create-the-environment-files-for-development-production-and-test/163668 "2009-03-23T19:47:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gustavo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9adbd/32.png) [@gustavo](https://www.ruby-forum.com/u/gustavo)\
**Post date:** [March 23, 2009, 7:47pm UTC](https://www.ruby-forum.com/t/how-to-create-the-environment-files-for-development-production-and-test/163668/1 "2009-03-23T19:47:32Z")

</div>

Hi,

I have created the weblog in my house yesterday and uploaded to a  
SourceRepo svn repository. Today I started to work in other machine  
and checked out a version to another NetBeans. Somehow, the files  
inside the dir weblog/config/environments where not uploaded with svn  
yesterday: development.rb, production.rb and test.rb.

I have no clue why? Somebody knows?

I wonder if there is a Rack task to generate those files.

## Thank you all!

Gustavo

---

<div class="post-metadata">

**Author:** ![gustavo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9adbd/32.png) [@gustavo](https://www.ruby-forum.com/u/gustavo)\
**Post date:** [March 23, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/how-to-create-the-environment-files-for-development-production-and-test/163668/2 "2009-03-23T19:49:20Z")

</div>

On Mar 23, 6:14 pm, gustavo [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I wonder if there is a Rack task to generate those files.

Well obviously you won’t be able to get back any changes you made (eg  
required gems) but if you just need the boilerplate, why not just  
generate a fresh rails app and steal the files from there ?

Fred
