[rspec-users] spec command and windows
waynev at gmail.com
Sat Jan 6 00:30:39 EST 2007
Thanks for your amazingly prompt reply!
On 1/5/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> Just require 'spec' in the file or a file it includes and go:
> ruby path/to/the/file.rb
> OR (if you MUST)
> ruby path\to\the\file.rb
Works like a charm! Now is there any way to get the same output as
with "-f s" ?
And I completely agree with you on / rather than \ in file paths. The
use of \ was one of the most annoying things MS-DOS and then Windows
ever did. When I switched from programming on the Mac to Windows NT
3.51 I was glad that all the Win32 APIs accepted either \ or / in
paths, so I always preferred /.
More information about the rspec-users