From: Rodrigo Rosenfeld Rosas Date: 2012-10-19T21:06:13+09:00 Subject: [ruby-core:48121] Re: [ruby-trunk - Bug #6548] Rake doesn't ignore arguments after -- Thanks for pointing me out to the documentation, Jim, but just knowing about this feature existence was enough for me to get it working yesterday night: https://github.com/rosenfeld/oojs_assets_enabler/commit/a38f67278821a4d7cd1e9c7564d4afa5186c81ef https://github.com/rosenfeld/grails-oojs/commit/cf35e3f90c1f0835828e4f8f3b116c7b1e02daaa I'll be talking about oojs and oojspec tomorrow on Rock'n Rails so I thought it would be better if I fixed this soon :) http://www.rockandrails.com.br/ Thank you very much Jim and Eric for all your support. And thanks Jeremy, not only with regards to your excelent Sequel gem which I use everyday, but also for better explaining the expected behavior of "--" in Unix programs :) P.S: Sorry for posting this as an e-mail reply but Redmine was giving me a 500 error when I tried to update the issue there. Em 19-10-2012 00:18, jimweirich (Jim Weirich) escreveu: > Issue #6548 has been updated by jimweirich (Jim Weirich). > > > Actually, the post Eric refers to is a bit out of date. Look for the section "Tasks with Arguments" in the Rakefile writeup on GitHub: https://github.com/jimweirich/rake/blob/master/doc/rakefile.rdoc > ---------------------------------------- > Bug #6548: Rake doesn't ignore arguments after -- > https://bugs.ruby-lang.org/issues/6548#change-31035 > > Author: rosenfeld (Rodrigo Rosenfeld Rosas) > Status: Closed > Priority: Normal > Assignee: drbrain (Eric Hodel) > Category: lib > Target version: 2.0.0 > ruby -v: ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux] > > > I've created this issue first in GitHub before I realized that Rake is now part of stdlib: > > https://github.com/jimweirich/rake/issues/115 > > I'll copy it here: > > rake some_task -- some_arg > > Raises an error after running some_task: > > Don't know how to build task some_arg. > >