Hi there, so I decided to go ahead and go through Rolling With Ruby on Rails, the updated version. I got InstantRails installed and pulled the cookbook up, so it all seems to be working. However, when I navigate to C:\InstantRails\rails_apps and do rails cookbook2 I get the error: ''rails'' is not recognized as an internal or external command, operable program or batch file. Looking at the instant rails console, it says that apache is running/ started and mySQL says its "pending" Is there something else I have to do to get started? --~--~---------~--~----~------------~-------~--~----~ 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 Nov 28, 2007 3:31 PM, Pixelmech <pixelmech-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I get the error: > > ''rails'' is not recognized as an internal or external command, operable > program or batch file.It appears as though the rails command is not in your path. Google for "adding a path in windows". -- Greg Donald http://destiney.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Ok, possibly the problem was I had installed Ruby first by itself, then it looks like Instant Rails installs it too. I uninstalled c: \ruby, which leaves the other install at c:\InstantRails\ruby, and I changed the Windows path accordingly. But when I do ruby -v it does not see it... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
nevermind - somehow I got it to recognize the right directory and now it works...thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
It may be preferable to use Ruby 1.8.6 and build instead of relying on instant rails. Instant rails is great package but doing it raw gives more control On Nov 28, 2007 4:53 PM, Pixelmech <pixelmech-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Ok, possibly the problem was I had installed Ruby first by itself, > then it looks like Instant Rails installs it too. I uninstalled c: > \ruby, which leaves the other install at c:\InstantRails\ruby, and I > changed the Windows path accordingly. But when I do ruby -v it does > not see it... > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Pixelmech wrote:> Hi there, so I decided to go ahead and go through Rolling With Ruby on > Rails, the updated version. I got InstantRails installed and pulled > the cookbook up, so it all seems to be working. However, when I > navigate to > > C:\InstantRails\rails_apps > > and do > > rails cookbook2 > > I get the error: > > ''rails'' is not recognized as an internal or external command, operable > program or batch file. > > Looking at the instant rails console, it says that apache is running/ > started and mySQL says its "pending" > > Is there something else I have to do to get started?Make sure you use the command line tool from within InstantRails. Its under Rails Application on the I menu. It adds all the necessary paths. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Perhaps a reboot? On Nov 29, 2007 8:25 AM, Pixelmech <pixelmech-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > nevermind - somehow I got it to recognize the right directory and now > it works...thanks. > > >-- Ryan Bigg --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---