# Script/server

**URL:** <https://www.ruby-forum.com/t/script-server/194447>\
**Category:** Rails\
**Created:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/script-server/194447 "2010-09-06T16:39:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3ec8ea/32.png) [@daniel](https://www.ruby-forum.com/u/daniel)\
**Post date:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/script-server/194447/1 "2010-09-06T16:39:27Z")

</div>

I am running into an odd problem and would love some assistance. I  
had Ruby/Rails up and running perfectly fine on a Win 7 machine but  
recently had to perform a fresh install of everything. The previous  
install as well as this one were completed with RubyInstaller 1.9.2.  
In the old install I was able to create apps with no problems on the  
same machine. The new install went fine. Mongrel & SQLite 3 went in  
with no problems. Now when I go to create a new app, everything seems  
fine, but not all the files are created. I seem to be missing nearly  
all of the files from the script folder of the new app.

Now I know that some may be thinking, “just go for a Linux install to  
save trouble.” Well, I thought of that too. However, the same  
problem arose with a fresh install of Ubuntu and following quite a few  
Ubuntu/Ruby/Rails guides.

I’m just hoping that someone has some insight on this matter and  
appreciate your time.

---

<div class="post-metadata">

**Author:** ![daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3ec8ea/32.png) [@daniel](https://www.ruby-forum.com/u/daniel)\
**Post date:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/script-server/194447/2 "2010-09-06T16:39:48Z")

</div>

On 6 Sep 2010, at 04:02, Daniel [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I am running into an odd problem and would love some assistance. I  
> had Ruby/Rails up and running perfectly fine on a Win 7 machine but  
> recently had to perform a fresh install of everything. The previous  
> install as well as this one were completed with RubyInstaller 1.9.2.  
> In the old install I was able to create apps with no problems on the  
> same machine. The new install went fine. Mongrel & SQLite 3 went in  
> with no problems. Now when I go to create a new app, everything seems  
> fine, but not all the files are created. I seem to be missing nearly  
> all of the files from the script folder of the new app.
> 
> Now I know that some may be thinking, “just go for a Linux install to  
> save trouble.” Well, I thought of that too. However, the same  
> problem arose with a fresh install of Ubuntu and following quite a few  
> Ubuntu/Ruby/Rails guides.
> 
> I’m just hoping that someone has some insight on this matter and  
> appreciate your time.

Are you using Rails 3? In Rails 3, all the old individual script files  
in script/ (i.e. generate, server, console, etc.) have been combined  
into one file, ‘rails’. And in practice, you just use the rails bin  
installed by the gem rather than the stub in scripts/rails

Instead of running, for example:

script/console

you now run:

rails console

Chris

---

<div class="post-metadata">

**Author:** ![daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3ec8ea/32.png) [@daniel](https://www.ruby-forum.com/u/daniel)\
**Post date:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/script-server/194447/3 "2010-09-06T16:39:53Z")

</div>

Chris, I am running Rails 3 and will give that a go. I must have been  
running 2.3.8 on the earlier install. I’ll let you know how it goes.  
Thanks.

---

<div class="post-metadata">

**Author:** ![daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3ec8ea/32.png) [@daniel](https://www.ruby-forum.com/u/daniel)\
**Post date:** [September 6, 2010, 4:44pm UTC](https://www.ruby-forum.com/t/script-server/194447/4 "2010-09-06T16:44:08Z")

</div>

HI,

You may try “rails server” in Rails 3 to start server. “script/server”  
was  
gone in last version itself…

On 6 September 2010 13:31, Daniel [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Chris, I am running Rails 3 and will give that a go. I must have been  
> running 2.3.8 on the earlier install. I’ll let you know how it goes.  
> Thanks.
> 
> On Sep 6, 3:52 am, Chris M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > On 6 Sep 2010, at 04:02, Daniel [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> > 
> > > I am running into an odd problem and would love some assistance. I  
> > > had Ruby/Rails up and running perfectly fine on a Win 7 machine but  
> > > recently had to perform a fresh install of everything. The previous  
> > > install as well as this one were completed with RubyInstaller 1.9.2.  
> > > In the old install I was able to create apps with no problems on the  
> > > same machine. The new install went fine. Mongrel & SQLite 3 went in  
> > > with no problems. Now when I go to create a new app, everything seems  
> > > fine, but not all the files are created. I seem to be missing nearly  
> > > all of the files from the script folder of the new app.
> > 
> > > Now I know that some may be thinking, “just go for a Linux install to  
> > > save trouble.” Well, I thought of that too. However, the same  
> > > problem arose with a fresh install of Ubuntu and following quite a few  
> > > Ubuntu/Ruby/Rails guides.
> > 
> > > I’m just hoping that someone has some insight on this matter and  
> > > appreciate your time.
> > 
> > Are you using Rails 3? In Rails 3, all the old individual script files in  
> > script/ (i.e. generate, server, console, etc.) have been combined into one  
> > file, ‘rails’. And in practice, you just use the rails bin installed by the  
> > gem rather than the stub in scripts/rails
> > 
> > Instead of running, for example:
> > 
> > script/console
> > 
> > you now run:
> > 
> > rails console
> > 
> > Chris
> 
> –  
> You received this message because you are subscribed to the Google G.  
> “Ruby on Rails: Talk” group.  
> To post to this group, send email to removed\_email\_address@domain.invalid.  
> To unsubscribe from this group, send email to  
> removed\_email\_address@domain.invalid[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> .  
> For more options, visit this group at  
> [http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

–  
With Regards  
Palani Kannan. K  
Office: +49-531-2616-226  
Mobile: +4917647098166
