# My Script/Console Won't work

**URL:** <https://www.ruby-forum.com/t/my-script-console-wont-work/84097>\
**Category:** Ruby\
**Created:** [February 1, 2007, 12:16pm UTC](https://www.ruby-forum.com/t/my-script-console-wont-work/84097 "2007-02-01T12:16:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eddiewould](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/b5e925/32.png) [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Post date:** [February 1, 2007, 12:16pm UTC](https://www.ruby-forum.com/t/my-script-console-wont-work/84097/1 "2007-02-01T12:16:07Z")

</div>

I was rolling on Instant Rails, and it didn’t work there,  
figured I’d install the latest 1.8.5 in a new directory, still won’t  
run.

it says “ruby: No such file or directory – script/console (LoadError)”

somebody help please. thanks

---

<div class="post-metadata">

**Author:** ![eddiewould](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/b5e925/32.png) [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Post date:** [February 1, 2007, 1:28pm UTC](https://www.ruby-forum.com/t/my-script-console-wont-work/84097/2 "2007-02-01T13:28:15Z")

</div>

On 2/1/07, Dominic S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I was rolling on Instant Rails, and it didn’t work there,  
> figured I’d install the latest 1.8.5 in a new directory, still won’t  
> run.
> 
> it says “ruby: No such file or directory – script/console (LoadError)”
> 
> somebody help please. thanks
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

Assuming you are running on windows, you should check the  
environmental variables to make sure that your path points to the  
correct place.

---

<div class="post-metadata">

**Author:** ![eddiewould](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/b5e925/32.png) [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Post date:** [February 1, 2007, 2:29pm UTC](https://www.ruby-forum.com/t/my-script-console-wont-work/84097/3 "2007-02-01T14:29:18Z")

</div>

Thanks Jason, yes i see that my PATH is pointing to  
C:\INSTANTRAILS\RUBY\BIN\ which is correct. If i type ‘ruby’, it seems  
to run the exec, but somehow i can’t run any with the script/\*  
argument…

: T

Jason M. wrote:

> On 2/1/07, Dominic S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > I was rolling on Instant Rails, and it didn’t work there,  
> > figured I’d install the latest 1.8.5 in a new directory, still won’t  
> > run.
> > 
> > it says “ruby: No such file or directory – script/console (LoadError)”
> > 
> > somebody help please. thanks
> > 
> > –  
> > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> Assuming you are running on windows, you should check the  
> environmental variables to make sure that your path points to the  
> correct place.

---

<div class="post-metadata">

**Author:** ![eddiewould](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/b5e925/32.png) [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Post date:** [February 1, 2007, 2:55pm UTC](https://www.ruby-forum.com/t/my-script-console-wont-work/84097/4 "2007-02-01T14:55:24Z")

</div>

On Feb 1, 8:29 am, Dominic S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > On 2/1/07, Dominic S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Assuming you are running on windows, you should check the  
> > environmental variables to make sure that your path points to the  
> > correct place.
> 
> –  
> Posted viahttp://www.ruby-forum.com/.

I presume you are doing this from a rails application directory,  
right?

On a windows machine, you need to do ‘ruby script/console’

\_Kevin

---

<div class="post-metadata">

**Author:** ![eddiewould](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/b5e925/32.png) [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Post date:** [February 1, 2007, 3:43pm UTC](https://www.ruby-forum.com/t/my-script-console-wont-work/84097/5 "2007-02-01T15:43:20Z")

</div>

Awe man, i found the problem - when i was backing up, i simply forgot to  
include the folder ‘script’…

(hits himself on forehead)…

thanks for your support guys…

\_Kevin wrote:

> On Feb 1, 8:29 am, Dominic S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > > On 2/1/07, Dominic S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> > 
> > > Assuming you are running on windows, you should check the  
> > > environmental variables to make sure that your path points to the  
> > > correct place.
> > 
> > –  
> > Posted viahttp://www.ruby-forum.com/.
> 
> I presume you are doing this from a rails application directory,  
> right?
> 
> On a windows machine, you need to do ‘ruby script/console’
> 
> \_Kevin
