Forum: Ruby on Rails problems with tutorial

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
970d33732fa4cad117142d9de99f34bd?d=identicon&s=25 Rae (Guest)
on 2007-02-04 21:33
(Received via mailing list)
I'm having some trouble with the instructions at the link below:

I had started at the tutorial at
and had gotten as far as creating the cookbook2 exercise and had
gotten to the "Welcome aboard you're riding ruby rails" screen in
explorer, but then it tells you to :

"Leave your existing command window open with the web server running,
and open a second command window.  Enter >use_ruby and then navigate
to the application's base directory: c:\Instantrails\rails_apps
\cookbook2. It will look like Figure 10, at least in a moment."

How do I open a second command window?

5936225629b3694009f87690435a5e32?d=identicon&s=25 Mike Zink (zuwiki)
on 2007-02-04 21:41
(Received via mailing list)
[Start > Run > cmd] should open another command window.
7ed559ec7f9fc6a96ddc1690f06e7f80?d=identicon&s=25 Chris Olsen (chrisolsen)
on 2007-02-04 21:55
(Received via mailing list)
If you do it through the run... option in the start menu there is a
good chance that the ruby library won't be accessible.  A better way
to do it is to click the "I" icon in the instantrails program.  From
the menu click the Rails Applications option followed by the Open
Rails Console command.  This will also initiate the prompt to the base
dir of all your application (that is if you are using the rails_apps

Hope that helps.
970d33732fa4cad117142d9de99f34bd?d=identicon&s=25 Rae (Guest)
on 2007-02-04 22:36
(Received via mailing list)
Thanks. Yes, the regular dos prompt is at c:\ and gets me nowhere. I
tried it from the intantrails program as well but when I type
'use_ruby' as instructed in the tutorial, I get the message: "
'use_ruby' is not recognized as an internal or external command,
operable program or batch file." I must not be accessing the right
place as talked about in that tutorial.
When I open a new console window, my prompt points to
and my cookbook program and the new one I was following in the
tutorial cookbook2 are both there as well as the typo-2.6.0 program.
I was able to do the first part of the tutorial which instructed to
rails cookbook2
He states on the tutorial:
"I used c:\Instantrails\rails_apps.  (which is where 'use_ruby.cmd'
leaves us when we restart the development environment). "

But I haven't succeeded in typing 'use_ruby.cmd' without an error
Where is that command??
C475cffda1800fbc3f3af17bc10c220f?d=identicon&s=25 Curt Hibbs (Guest)
on 2007-02-04 23:40
(Received via mailing list)
On 2/4/07, Rae <> wrote:
> and my cookbook program and the new one I was following in the
> Where is that command??
> thanks,
> rae

use_ruby.cmd is in the base Instant Rails directory (wherever you
Instant Rails). All it does is add the ruby\bin subdirectory to your
path in that console window.

If you opened the console window through the Instant Rails menus, then
user_ruby was already executed. You only need to run use_ruby.cmd when
open your own console window through Start>Run or some other means.

This topic is locked and can not be replied to.