[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

rake: command-line params with spaces

Its Me

1/1/2005 5:49:00 PM

Is it possible to pass in command-line args containing spaces to rake? I'm
on XP, and "..." and '...' don't work.

rake arg="foo bar" #=> ENV['arg'] = nil
rake arg='foo bar' #=> ENV['arg'] = nil
rake arg=foo bar #=> ENV['arg'] = foo

Thanks


1 Answer

Its Me

1/1/2005 5:53:00 PM

0


"itsme213" <itsme213@hotmail.com> wrote
> Is it possible to pass in command-line args containing spaces to rake? I'm
> on XP, and "..." and '...' don't work.

Turned out to be a JEdit problem (it has various kinds of trouble emulating
a command line), nothing to do with rake. It works fine with "..." from a
DOS shell.