{"action":"closed","issue":{"url":"https://api.github.com/repos/seattlerb/minitest-autotest/issues/10","labels_url":"https://api.github.com/repos/seattlerb/minitest-autotest/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/seattlerb/minitest-autotest/issues/10/comments","events_url":"https://api.github.com/repos/seattlerb/minitest-autotest/issues/10/events","html_url":"https://github.com/seattlerb/minitest-autotest/issues/10","id":122407856,"number":10,"title":"1.0.2 errors on \"invalid option: --server\"","user":{"login":"vandrijevik","id":7736,"avatar_url":"https://avatars.githubusercontent.com/u/7736?v=3","gravatar_id":"","url":"https://api.github.com/users/vandrijevik","html_url":"https://github.com/vandrijevik","followers_url":"https://api.github.com/users/vandrijevik/followers","following_url":"https://api.github.com/users/vandrijevik/following{/other_user}","gists_url":"https://api.github.com/users/vandrijevik/gists{/gist_id}","starred_url":"https://api.github.com/users/vandrijevik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vandrijevik/subscriptions","organizations_url":"https://api.github.com/users/vandrijevik/orgs","repos_url":"https://api.github.com/users/vandrijevik/repos","events_url":"https://api.github.com/users/vandrijevik/events{/privacy}","received_events_url":"https://api.github.com/users/vandrijevik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-16T01:37:33Z","updated_at":"2015-12-16T01:42:39Z","closed_at":"2015-12-16T01:42:39Z","body":"Using the directions from [the documentation](http://docs.seattlerb.org/minitest-autotest/), I am trying to set up autotest for my minitest-based project:\r\n\r\n```\r\n$ cat .autotest\r\nrequire \"autotest/suffix\"\r\nrequire \"autotest/bundler\"\r\nrequire \"autotest/restart\"\r\n\r\nAutotest.add_hook :initialize do |at|\r\n  at.testlib = \".minitest\"\r\nend\r\n```\r\n\r\nalong with this `.minitest.rb`:\r\n\r\n```\r\n$ cat .minitest.rb \r\ngem \"minitest\"\r\nrequire \"minitest/autorun\"\r\n```\r\n\r\nStarting `autotest` shows the following error message:\r\n\r\n```\r\n$ autotest\r\nbundle exec /Users/vladimir/ruby/2.2.3/bin/ruby -I.:lib:test -rubygems -e \"gem 'minitest'; %w[.minitest <SNIP-LOCAL-TEST-DIRECTORY-FILES>].each { |f| require f }\" -- --server 46681\r\n\r\ninvalid option: --server\r\n\r\nminitest options:\r\n    -h, --help                       Display this help.\r\n    -s, --seed SEED                  Sets random seed. Also via env. Eg: SEED=n rake\r\n    -v, --verbose                    Verbose. Show progress processing files.\r\n    -n, --name PATTERN               Filter run on /regexp/ or string.\r\n\r\nKnown extensions: pride\r\n    -p, --pride                      Pride. Show your testing pride!\r\n```\r\n\r\nHere are details about my local setup:\r\n\r\n```\r\n$ ruby -v\r\nruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]\r\n\r\n$ gem -v\r\n2.5.1\r\n\r\n$ gem list | grep minitest\r\nminitest (5.8.3, 5.4.3)\r\nminitest-autotest (1.0.2)\r\nminitest-server (1.0.3)\r\n```\r\n\r\nWhat am I doing wrong?"}}