Hi, 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 puts x end task :default => [:getting] The problem - running just "rake" on the command line works fine, waiting for input - running "rake getting" gives me the following error: rake aborted! No such file or directory - getting /home/rolands/tests/rakefile.rb:2:in `gets' (See full trace by running task with --trace) Doing the trace I get: /home/rolands/tests/rakefile.rb:2:in `gets' /home/rolands/tests/rakefile.rb:2 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke' /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /usr/local/bin/rake:18 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, Roland _______________________________________________ Rake-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/rake-devel
