My Script/Console Won't work..

D

Dominic Son

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
 
J

Jason Mayer

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

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

Dominic Son

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
 
K

_Kevin

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

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

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

_Kevin
 
D

Dominic Son

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top