tag:blogger.com,1999:blog-822738186956251465.post5346230808641170996..comments2023-11-09T00:23:18.101-05:00Comments on Brent's Tech Ramblings: Running the same rake task more than onceBrenthttp://www.blogger.com/profile/17023647333704400692noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-822738186956251465.post-11492546090095226022014-06-19T10:04:56.175-04:002014-06-19T10:04:56.175-04:00If you are writting a task like that, you call als...If you are writting a task like that, you call also call the method inside the task:<br /><br /> task "log:clean" do |t,args|<br /> # log:clean action<br /><br /> t.reenable<br /> endEduardo de Santana Medeiros Alexandrehttps://www.blogger.com/profile/17401062197384420108noreply@blogger.comtag:blogger.com,1999:blog-822738186956251465.post-6759465528311815322010-01-29T08:13:44.617-05:002010-01-29T08:13:44.617-05:00Nice post, just came across this problem myself. Y...Nice post, just came across this problem myself. Your solution works perfectly.Bealerhttp://www.blogger.com/profile/13552045032292142168noreply@blogger.comtag:blogger.com,1999:blog-822738186956251465.post-87762876279163453782009-08-08T19:47:12.700-04:002009-08-08T19:47:12.700-04:00It seems to work fine for me if you use "exec...It seems to work fine for me if you use "execute" instead of "invoke".JPhttp://www.blogger.com/profile/04539407848251737277noreply@blogger.com