# RE: Different rails environment

**URL:** <https://www.ruby-forum.com/t/re-different-rails-environment/147221>\
**Category:** Rails\
**Created:** [August 29, 2008, 3:05pm UTC](https://www.ruby-forum.com/t/re-different-rails-environment/147221 "2008-08-29T15:05:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Edwards](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/839c29/32.png) [@Chris\_Edwards](https://www.ruby-forum.com/u/Chris_Edwards)\
**Post date:** [August 29, 2008, 3:05pm UTC](https://www.ruby-forum.com/t/re-different-rails-environment/147221/1 "2008-08-29T15:05:22Z")

</div>

Hi guys,

```
 Is it possible to have a different environment, other than the

```

Development, Test, and Live. I’d like to run a development copy on my  
laptop  
while I’m on the road, pointing to it’s own mySQL db etc. I thought it  
would  
be as simple as adding a YAML entry, but Rails doesn’t like it.

Is this possible?, to have more than the default Dev, test, and live  
envs?

Thanks  
Chris

---

<div class="post-metadata">

**Author:** ![Chris\_Edwards](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/839c29/32.png) [@Chris\_Edwards](https://www.ruby-forum.com/u/Chris_Edwards)\
**Post date:** [August 29, 2008, 3:10pm UTC](https://www.ruby-forum.com/t/re-different-rails-environment/147221/2 "2008-08-29T15:10:39Z")

</div>

Sent from my iPhone

On 29 Aug 2008, at 13:00, “Chris Edwards”  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi guys,
> 
> ```
> Is it possible to have a different environment, other than the  
> 
> ```
> 
> Development, Test, and Live. I’d like to run a development copy on  
> my laptop while I’m on the road, pointing to it’s own mySQL db etc.  
> I thought it would be as simple as adding a YAML entry, but Rails  
> doesn’t like it.

You can have as many as you want for example some of our apps have a  
report environment or a test\_selenium environment

I’m addition to an entry in database.yml you’ll need a file in config/  
environments

Fred
