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 <[email protected]> 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 [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to