task exec in ruby.