# What is the entry-point for a rails app?

**URL:** <https://www.ruby-forum.com/t/what-is-the-entry-point-for-a-rails-app/56362>\
**Category:** Rails\
**Created:** [March 30, 2006, 3:47pm UTC](https://www.ruby-forum.com/t/what-is-the-entry-point-for-a-rails-app/56362 "2006-03-30T15:47:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/f17d59/32.png) [@yash](https://www.ruby-forum.com/u/yash)\
**Post date:** [March 30, 2006, 3:47pm UTC](https://www.ruby-forum.com/t/what-is-the-entry-point-for-a-rails-app/56362/1 "2006-03-30T15:47:03Z")

</div>

Hi,  
I would like to run a DOS command such as “net send …” when I start  
the rails application using script\server. Can you please tell me where  
I need to put the call? Is it environment.rb by any chance?

-Yash

---

<div class="post-metadata">

**Author:** ![yash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/f17d59/32.png) [@yash](https://www.ruby-forum.com/u/yash)\
**Post date:** [March 30, 2006, 3:58pm UTC](https://www.ruby-forum.com/t/what-is-the-entry-point-for-a-rails-app/56362/2 "2006-03-30T15:58:31Z")

</div>

On 3/30/06, Yash [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I would like to run a DOS command such as “net send …” when I start  
> the rails application using script\server. Can you please tell me where  
> I need to put the call? Is it environment.rb by any chance?

How about adding the line:  
system(“net send xxx yyy”) in the script\server file?

–  
Jonas  
Elfström
