-
-
Notifications
You must be signed in to change notification settings - Fork 327
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
Rails 4.0, Ruby 2.0.0-p247, invalid option: --format (OptionParser::InvalidOption) #269
Comments
Can you please let me know what is your cucumber-rails version? Just created a brand new rails 4.0 app with ruby-2.0.0-p247, and cucumber-rails 1.4.0 and it seems to be working as expected for a simple feature: $ bundle exec cucumber --format pretty Scenario: Visit home page # features/posts.feature:3 1 scenario (1 passed) |
@Kosmas 1.4.0 too |
@ExReanimator try to use the master branch until the next version comes out. The problem should be resolved there. |
@Kosmas Thank you! Resolved. |
$ bundle exec cucumber --format pretty
......
(features ok, then appears an error)
/Users/admin/.rvm/gems/ruby-2.0.0-p247@project/gems/minitest-4.7.5/lib/minitest/unit.rb:1037:in block in process_args: invalid option: --format (OptionParser::InvalidOption)
from /Users/admin/.rvm/gems/ruby-2.0.0-p247@project/gems/minitest-4.7.5/lib/minitest/unit.rb:1016:in 'new'
from /Users/admin/.rvm/gems/ruby-2.0.0-p247@project/gems/minitest-4.7.5/lib/minitest/unit.rb:1016:in 'process_args'
from /Users/admin/.rvm/gems/ruby-2.0.0-p247@project/gems/minitest-4.7.5/lib/minitest/unit.rb:1066:in '_run'
from /Users/admin/.rvm/gems/ruby-2.0.0-p247@project/gems/minitest-4.7.5/lib/minitest/unit.rb:1059:in 'run'
from /Users/admin/.rvm/gems/ruby-2.0.0-p247@project/gems/minitest-4.7.5/lib/minitest/unit.rb:795:in 'block in autorun'
The text was updated successfully, but these errors were encountered: