I typed, "rm public/index.html" Got back, "''rm is not recognized as an internal or external command, operable program or batch file." Bruce -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Are you on a *nix system( Linux,MacOS X , BSD''s)? If you are , have you already checked the environment variables? If you aren''t , this is a *nix command. -- Regis Mesquita Sent with Sparrow On sexta-feira, 1 de abril de 2011 at 18:31, wordmystic wrote:> I typed, "rm public/index.html" > > Got back, "''rm is not recognized as an internal or external command, > operable program or batch file." > > Bruce > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 1 Apr 2011, at 22:31, wordmystic wrote:> I typed, "rm public/index.html" > > Got back, "''rm is not recognized as an internal or external command, > operable program or batch file."It sounds like you''re on Windows. When you''re reading tutorials that have UNIX commands in, you''ll need to use the Windows equivalent instead. ''rm'' deleted files, so in the Windows command prompt you''d use ''del'' instead. The good news is that once you start writing Ruby code and using the Rails APIs, they''re mostly platform-independent, so you should have less trouble with the tutorials. Chris -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Actually I took a guess at del and got back: Invalid switch - "index.html". On Apr 1, 3:25 pm, Chris Mear <chrism...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 1 Apr 2011, at 22:31, wordmystic wrote: > > > I typed, "rm public/index.html" > > > Got back, "''rm is not recognized as an internal or external command, > > operable program or batch file." > > It sounds like you''re on Windows. When you''re reading tutorials that have UNIX commands in, you''ll need to use the Windows equivalent instead. ''rm'' deleted files, so in the Windows command prompt you''d use ''del'' instead. > > The good news is that once you start writing Ruby code and using the Rails APIs, they''re mostly platform-independent, so you should have less trouble with the tutorials. > > Chris-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
But rem worked! On Apr 1, 4:43 pm, wordmystic <bwilson...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> Actually I took a guess at del and got back: Invalid switch - > "index.html". > > On Apr 1, 3:25 pm, Chris Mear <chrism...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > On 1 Apr 2011, at 22:31, wordmystic wrote: > > > > I typed, "rm public/index.html" > > > > Got back, "''rm is not recognized as an internal or external command, > > > operable program or batch file." > > > It sounds like you''re on Windows. When you''re reading tutorials that have UNIX commands in, you''ll need to use the Windows equivalent instead. ''rm'' deleted files, so in the Windows command prompt you''d use ''del'' instead. > > > The good news is that once you start writing Ruby code and using the Rails APIs, they''re mostly platform-independent, so you should have less trouble with the tutorials. > > > Chris-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Régis David Souza Mesquita
2011-Apr-01 23:55 UTC
Re: Re: "rm public/index.html not recognized...."
shouldn''t the directory separator be inverted in windows? del public\index.html Em 01/04/2011, às 20:43, wordmystic escreveu:> Actually I took a guess at del and got back: Invalid switch - > "index.html". > > On Apr 1, 3:25 pm, Chris Mear <chrism...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> On 1 Apr 2011, at 22:31, wordmystic wrote: >> >>> I typed, "rm public/index.html" >> >>> Got back, "''rm is not recognized as an internal or external command, >>> operable program or batch file." >> >> It sounds like you''re on Windows. When you''re reading tutorials that have UNIX commands in, you''ll need to use the Windows equivalent instead. ''rm'' deleted files, so in the Windows command prompt you''d use ''del'' instead. >> >> The good news is that once you start writing Ruby code and using the Rails APIs, they''re mostly platform-independent, so you should have less trouble with the tutorials. >> >> Chris > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
OOps! It''s still there, but the rem didn''t give me any kind of error message. On Apr 1, 4:54 pm, wordmystic <bwilson...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> But rem worked! > > On Apr 1, 4:43 pm, wordmystic <bwilson...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > Actually I took a guess at del and got back: Invalid switch - > > "index.html". > > > On Apr 1, 3:25 pm, Chris Mear <chrism...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > On 1 Apr 2011, at 22:31, wordmystic wrote: > > > > > I typed, "rm public/index.html" > > > > > Got back, "''rm is not recognized as an internal or external command, > > > > operable program or batch file." > > > > It sounds like you''re on Windows. When you''re reading tutorials that have UNIX commands in, you''ll need to use the Windows equivalent instead. ''rm'' deleted files, so in the Windows command prompt you''d use ''del'' instead. > > > > The good news is that once you start writing Ruby code and using the Rails APIs, they''re mostly platform-independent, so you should have less trouble with the tutorials. > > > > Chris-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
have you already tried , "del public\index.html" ? -- Regis Mesquita Sent with Sparrow On sexta-feira, 1 de abril de 2011 at 21:26, wordmystic wrote:> OOps! It''s still there, but the rem didn''t give me any kind of error > message. > > On Apr 1, 4:54 pm, wordmystic <bwilson...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: > > But rem worked! > > > > On Apr 1, 4:43 pm, wordmystic <bwilson...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > > > > > > > > > Actually I took a guess at del and got back: Invalid switch - > > > "index.html". > > > > > On Apr 1, 3:25 pm, Chris Mear <chrism...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > On 1 Apr 2011, at 22:31, wordmystic wrote: > > > > > > > I typed, "rm public/index.html" > > > > > > > Got back, "''rm is not recognized as an internal or external command, > > > > > operable program or batch file." > > > > > > It sounds like you''re on Windows. When you''re reading tutorials that have UNIX commands in, you''ll need to use the Windows equivalent instead. ''rm'' deleted files, so in the Windows command prompt you''d use ''del'' instead. > > > > > > The good news is that once you start writing Ruby code and using the Rails APIs, they''re mostly platform-independent, so you should have less trouble with the tutorials. > > > > > > Chris > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 2 April 2011 00:43, wordmystic <bwilsonnow-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> Actually I took a guess at del and got back: Invalid switch - > "index.html".del public\index.html If this step is proving a stumble, maybe it would be appropriate to take some computer foundations classes before trying to learn RoR and application development? (or if you are very experienced with a different computer OS, can you do some sort of primer on the differences in the basics in Windows?) -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
You need to "cd public" then "del index.html" windows always have problems with path :D -- Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Thanks Jan - ran into same problem. ''del'' for windows (vs. ''rm''), and the cd to ''public'' did the trick. Very helpful. Jan V. wrote in post #1087171:> You need to "cd public" then "del index.html" windows always have > problems with path :D-- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.