{"action":"created","issue":{"url":"https://api.github.com/repos/jordansissel/xdotool/issues/54","labels_url":"https://api.github.com/repos/jordansissel/xdotool/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/jordansissel/xdotool/issues/54/comments","events_url":"https://api.github.com/repos/jordansissel/xdotool/issues/54/events","html_url":"https://github.com/jordansissel/xdotool/issues/54","id":52133462,"number":54,"title":"Cannot run tests: undefined method `_run_suite' for class `Test::Unit::Runner' (NameError)","user":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-16T16:22:26Z","updated_at":"2015-06-04T10:14:56Z","closed_at":null,"body":"I have tried to run the tests, but it fails:\r\n\r\n    Running test_basic.rb\r\n    Warning: Tried to connect to session manager, Could not open network socket\r\n    Setting up keymap on new server as us\r\n    Warning: you should require 'minitest/autorun' instead.\r\n    Warning: or add 'gem \"minitest\"' before 'require \"minitest/autorun\"'\r\n    From:\r\n      /usr/lib/ruby/2.1.0/test/unit.rb:1:in `<top (required)>'\r\n      test_basic.rb:4:in `<main>'\r\n    MiniTest::Unit::TestCase is now Minitest::Test. From /usr/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>'\r\n    /usr/lib/ruby/2.1.0/test/unit.rb:676:in `<class:Runner>': undefined method `_run_suite' for class `Test::Unit::Runner' (NameError)\r\n      from /usr/lib/ruby/2.1.0/test/unit.rb:261:in `<module:Unit>'\r\n      from /usr/lib/ruby/2.1.0/test/unit.rb:15:in `<module:Test>'\r\n      from /usr/lib/ruby/2.1.0/test/unit.rb:7:in `<top (required)>'\r\n      from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'\r\n      from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'\r\n      from test_basic.rb:4:in `<main>'\r\n    make[3]: *** [do-test] Error 1\r\n    make[3]: Leaving directory `/home/daniel/Vcs/xdotool/t'\r\n\r\n    % ruby --version\r\n    ruby 2.1.2p95 (2014-05-08) [x86_64-linux-gnu]\r\n\r\nWhat am I missing?\r\n\r\nIs my Ruby stack too new? (`MiniTest::Unit::TestCase is now Minitest::Test`)\r\n"},"comment":{"url":"https://api.github.com/repos/jordansissel/xdotool/issues/comments/108825648","html_url":"https://github.com/jordansissel/xdotool/issues/54#issuecomment-108825648","issue_url":"https://api.github.com/repos/jordansissel/xdotool/issues/54","id":108825648,"user":{"login":"kyawsanwin","id":223004,"avatar_url":"https://avatars.githubusercontent.com/u/223004?v=3","gravatar_id":"","url":"https://api.github.com/users/kyawsanwin","html_url":"https://github.com/kyawsanwin","followers_url":"https://api.github.com/users/kyawsanwin/followers","following_url":"https://api.github.com/users/kyawsanwin/following{/other_user}","gists_url":"https://api.github.com/users/kyawsanwin/gists{/gist_id}","starred_url":"https://api.github.com/users/kyawsanwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyawsanwin/subscriptions","organizations_url":"https://api.github.com/users/kyawsanwin/orgs","repos_url":"https://api.github.com/users/kyawsanwin/repos","events_url":"https://api.github.com/users/kyawsanwin/events{/privacy}","received_events_url":"https://api.github.com/users/kyawsanwin/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T10:14:56Z","updated_at":"2015-06-04T10:14:56Z","body":"I also found that problem. But, I can fix it by installing ruby 1.9.\r\n\r\nRuby 1.9.x bundles minitest not Test::Unit. Test::Unit bundled in Ruby 1.8.x had not been improved but unbundled Test::Unit (test-unit) is improved actively.\r\n\r\nI found that on it. http://stackoverflow.com/questions/25713491/ruby-undefined-method-run-suite-for-class-testunitrunner."}}