-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cucumber 1.2.4 - `block in process_args': invalid option: --tags (OptionParser::InvalidOption) #423
Comments
It looks as if you're using Ruby 1.9.2. We don't support Ruby 1.9.2, only Ruby 1.9.3 in the 1.9.x series. Please can you confirm this issue persists with Ruby 1.9.3? |
My CI environment has been on 1.9.2 for almost a year now and I didn't have My local machine runs on 1.9.3 and i cant replicate the problem. Dave On Apr 8, 2013 7:37 PM, "Matt Wynne" [email protected] wrote:
|
#404 will have caused this. I'm sorry for your pain @devram79 but you must understand that we need to focus on the most recent versions of Ruby otherwise we'd spend forever worrying about backwards compatibility rather than moving the project forwards. We actually removed 1.9.2 from our test runs a few releases ago, but this must be the first change we've made that's caused a problem. @os97673 I think maybe we should continue to support Ruby 1.9.2 until at least version 1.3, what do you think? |
I do not think we should support 1.9.2. Especially there is a simple workaround - add newer minitest to Gemfile. |
On Mon, Apr 8, 2013 at 8:55 PM, Matt Wynne [email protected] wrote:
Thanks. But this is really weird since you yanked 1.2.4 and released 1.2.5, So what has changed/not changed..?? Dave
|
1.2.5 is 1.2.3 + one fix, 1.2.4 contains number of changes including the one which causes your problem. And one of those change affects API which we consider private but others uses as public, thus we have reverted ALL changes and 1.2.5 is based on 1.2.3. |
@devram79 you'll need to do this, most likely when we ship version 1.3. |
Hi, yes I am planning on doing this in a couple of days that is upgrade my On Apr 9, 2013 9:49 PM, "Matt Wynne" [email protected] wrote:
|
I bumped into the same issue it seems. On a Rails 4 app with latest cucumber (1.3.6) and cucumber-rails (1.4.0), when running This is on Ruby 2.0.0-p247. I tried adding and updating the minitest gem explicitly to my gemfile, but as it already is a dependency of active support it is at the highest available version with activesupport 4.0.0. (Edit, just saw there are additional, still-open issues on the same problem over at cucumber-rails: cucumber/cucumber-rails#252 and cucumber/cucumber-rails#253) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Cucumber - 1.2.4
Gherkin - 2.11.7
Ruby - 1.9.2
Running a feature with the "--tags" or "-t" option the error with "minitest" appears even after the feature passes without any errors.
Minitest is not installed as a separate gem and no where ruby's self installed minitest is being used.
I have tried with both "--tags" & "-t" options
08-Apr-2013 09:51:04 2 scenarios (2 passed)
08-Apr-2013 09:51:04 7 steps (7 passed)
08-Apr-2013 09:51:04 1m20.961s
08-Apr-2013 09:51:07 /home/bamboo/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/minitest/unit.rb:581:in
block in process_args': invalid option: --tags (OptionParser::InvalidOption) 08-Apr-2013 09:51:07 from /home/bamboo/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/minitest/unit.rb:560:in
new'08-Apr-2013 09:51:07 from /home/bamboo/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/minitest/unit.rb:560:in
process_args' 08-Apr-2013 09:51:07 from /home/bamboo/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/minitest/unit.rb:591:in
run'08-Apr-2013 09:51:07 from /home/bamboo/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/minitest/unit.rb:508:in `block in autorun'
Reverting to 1.2.3 and Gherkin 2.11.6 works no issues
The text was updated successfully, but these errors were encountered: