# How to configure a server with new development environment

**URL:** <https://www.ruby-forum.com/t/how-to-configure-a-server-with-new-development-environment/150978>\
**Category:** Rails\
**Created:** [October 15, 2008, 2:24pm UTC](https://www.ruby-forum.com/t/how-to-configure-a-server-with-new-development-environment/150978 "2008-10-15T14:24:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunfish](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Post date:** [October 15, 2008, 2:24pm UTC](https://www.ruby-forum.com/t/how-to-configure-a-server-with-new-development-environment/150978/1 "2008-10-15T14:24:07Z")

</div>

Hi,  
In my application i created a new environment say sunny for  
development purpose.  
currently i am start server using command  
ruby script/server -e sunny

but i want to configure it in aptana(editor), but it not showing  
environment as sunny

---

<div class="post-metadata">

**Author:** ![sunfish](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Post date:** [October 15, 2008, 10:26pm UTC](https://www.ruby-forum.com/t/how-to-configure-a-server-with-new-development-environment/150978/2 "2008-10-15T22:26:20Z")

</div>

Sunny B. wrote:

> Hi,  
> In my application i created a new environment say sunny for  
> development purpose.  
> currently i am start server using command  
> ruby script/server -e sunny
> 
> but i want to configure it in aptana(editor), but it not showing  
> environment as sunny

Not exactly sure i understand the question, but you can create configs  
for the enviornment here:  
config/environments/sunny.rb

Check out the other .rb files in config/environments for some example  
content.

---

<div class="post-metadata">

**Author:** ![sunfish](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Post date:** [October 16, 2008, 7:39am UTC](https://www.ruby-forum.com/t/how-to-configure-a-server-with-new-development-environment/150978/3 "2008-10-16T07:39:41Z")

</div>

Mm Zz wrote:  
I created sunny.rb also but from aptana it not showing me that new  
environment  
when i am going for adding server
