I''m having some trouble with the instructions at the link below: http://instantrails.rubyforge.org/tutorial/restarting_the_dev_env.html I had started at the tutorial at http://instantrails.rubyforge.org/ tutorial/index.html 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? Rae --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
[Start > Run > cmd] should open another command window. On Feb 4, 12:32 pm, "Rae" <Rae...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> I''m having some trouble with the instructions at the link below:http://instantrails.rubyforge.org/tutorial/restarting_the_dev_env.html > > I had started at the tutorial athttp://instantrails.rubyforge.org/ > tutorial/index.html > 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? > > Rae--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 dir) Hope that helps. On Feb 4, 1:41 pm, "Zuwiki" <zuw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> [Start > Run > cmd] should open another command window. > > On Feb 4, 12:32 pm, "Rae" <Rae...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: > > > I''m having some trouble with the instructions at the link below:http://instantrails.rubyforge.org/tutorial/restarting_the_dev_env.html > > > I had started at the tutorial athttp://instantrails.rubyforge.org/ > > tutorial/index.html > > 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? > > > Rae--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 c:\RubyRails\InstantRails\rails_apps 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 type: 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 anywhere. Where is that command?? thanks, rae On Feb 4, 3:54 pm, "chris" <olsen.ch...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 > dir) > > Hope that helps. > > On Feb 4, 1:41 pm, "Zuwiki" <zuw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > [Start > Run > cmd] should open another command window. > > > On Feb 4, 12:32 pm, "Rae" <Rae...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: > > > > I''m having some trouble with the instructions at the link below:http://instantrails.rubyforge.org/tutorial/restarting_the_dev_env.html > > > > I had started at the tutorial athttp://instantrails.rubyforge.org/ > > > tutorial/index.html > > > 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? > > > > Rae- Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 2/4/07, Rae <Raeka8-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> > > 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 > c:\RubyRails\InstantRails\rails_apps > 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 > type: > 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 > anywhere. > Where is that command?? > thanks, > raeuse_ruby.cmd is in the base Instant Rails directory (wherever you unzipped Instant Rails). All it does is add the ruby\bin subdirectory to your system 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 you open your own console window through Start>Run or some other means. Curt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---