[Rake-devel] Bug with "gets" in Rake?
roland.swingler at gmail.com
Tue Jun 13 11:06:00 EDT 2006
First off apologies if this isn't the right place to be sending these
sort of bug reports, I couldn't see anything on the rubyforge project
page for them. I'm currently having a problem using gets with tasks
named on the command line.
Here is my example rakefile:
task :getting do
x = gets
task :default => [:getting]
The problem - running just "rake" on the command line works fine,
waiting for input - running "rake getting" gives me the following
No such file or directory - getting
(See full trace by running task with --trace)
Doing the trace I get:
Having had a quick look through the Rake source I can't see anything
obvious as to why this is going wrong.
Any help would be much appreciated!
Thanks in advance,
More information about the Rake-devel