Closed alfredopalhares closed 10 years ago
As you closed your own ticket, I assume you found a solution to your problem. Can you provide the answer so that other people coming here for the same problem can find it?
@micxer sorry I tough I hit comment and close. But not. The problem was due to bad packaging. I now use bundler and its working.
Thanks!
Following the example on the README, cucumber complains.
cucumber'
MiniTest::Unit::TestCase is now Minitest::Test. From /usr/lib/ruby/2.0.0/test/unit/testcase.rb:8:in '
cucumberWarning: you should require 'minitest/autorun' instead. Warning: or add 'gem "minitest"' before 'require "minitest/autorun"' From: /usr/lib/ruby/2.0.0/test/unit.rb:3:in
<top (required)>' /usr/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb:2:in
<top (required)>' /usr/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/runtime.rb:23:ininitialize' /usr/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/cli/main.rb:44:in
new' /usr/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/cli/main.rb:44:inexecute!' /usr/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/bin/cucumber:13:in
<top (required)>' /usr/bin/cucumber:23:inload' /usr/bin/cucumber:23:in
<module:Unit>' undefined method
_run_suite' for classTest::Unit::Runner' (NameError) /usr/lib/ruby/2.0.0/test/unit.rb:670:in
class:Runner' /usr/lib/ruby/2.0.0/test/unit.rb:255:in<module:Unit>' /usr/lib/ruby/2.0.0/test/unit.rb:9:in
module:Test' /usr/lib/ruby/2.0.0/test/unit.rb:8:in<top (required)>' /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in
require' /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:inrequire' /usr/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb:2:in
<top (required)>' /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:inrequire' /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in
require' /usr/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/runtime.rb:23:ininitialize' /usr/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/cli/main.rb:44:in
new' /usr/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/cli/main.rb:44:inexecute!' /usr/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/bin/cucumber:13:in
<top (required)>' /usr/bin/cucumber:23:inload' /usr/bin/cucumber:23:in
What am I doing wrong ?
Regards, Alfredo Palhares