Tag: 论点

为所有任务耙自定义参数?

我想传递一个参数rake独立于我运行的任务。 例如: rake my_arg=foo rake my_arg=foo :install rake my_arg=foo :upgrade rake my_arg=foo :bar 有没有办法做到这一点?