how to directly use "app.get" in rake?

now I use:
echo 'app.get "/"'|./script/console production