{"action":"created","issue":{"url":"https://api.github.com/repos/xp-runners/reference/issues/30","labels_url":"https://api.github.com/repos/xp-runners/reference/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/xp-runners/reference/issues/30/comments","events_url":"https://api.github.com/repos/xp-runners/reference/issues/30/events","html_url":"https://github.com/xp-runners/reference/issues/30","id":129517079,"number":30,"title":"Test on Mac","user":{"login":"thekid","id":696742,"avatar_url":"https://avatars.githubusercontent.com/u/696742?v=3","gravatar_id":"","url":"https://api.github.com/users/thekid","html_url":"https://github.com/thekid","followers_url":"https://api.github.com/users/thekid/followers","following_url":"https://api.github.com/users/thekid/following{/other_user}","gists_url":"https://api.github.com/users/thekid/gists{/gist_id}","starred_url":"https://api.github.com/users/thekid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thekid/subscriptions","organizations_url":"https://api.github.com/users/thekid/orgs","repos_url":"https://api.github.com/users/thekid/repos","events_url":"https://api.github.com/users/thekid/events{/privacy}","received_events_url":"https://api.github.com/users/thekid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xp-runners/reference/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/xp-runners/reference/labels/platforms","name":"platforms","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-01-28T17:22:39Z","updated_at":"2016-01-31T03:45:50Z","closed_at":null,"body":"Current idea:\r\n\r\n* [x] Create xp-runners/spec - *see https://github.com/xp-runners/spec*\r\n* [x] Use https://docs.travis-ci.com/user/multi-os/ <- @mikey179 I didn't know this existed! :cool: \r\n* [x] Use https-verified install from #29\r\n* [x] Run xp -v\r\n* [ ] Run further integration tests with a especially crafted class-main.php"},"comment":{"url":"https://api.github.com/repos/xp-runners/reference/issues/comments/177376351","html_url":"https://github.com/xp-runners/reference/issues/30#issuecomment-177376351","issue_url":"https://api.github.com/repos/xp-runners/reference/issues/30","id":177376351,"user":{"login":"thekid","id":696742,"avatar_url":"https://avatars.githubusercontent.com/u/696742?v=3","gravatar_id":"","url":"https://api.github.com/users/thekid","html_url":"https://github.com/thekid","followers_url":"https://api.github.com/users/thekid/followers","following_url":"https://api.github.com/users/thekid/following{/other_user}","gists_url":"https://api.github.com/users/thekid/gists{/gist_id}","starred_url":"https://api.github.com/users/thekid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thekid/subscriptions","organizations_url":"https://api.github.com/users/thekid/orgs","repos_url":"https://api.github.com/users/thekid/repos","events_url":"https://api.github.com/users/thekid/events{/privacy}","received_events_url":"https://api.github.com/users/thekid/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T03:45:50Z","updated_at":"2016-01-31T03:45:50Z","body":"With a wrapper script, we're \"falsifying\" $0, and Paths.Binary() returns the path to the mono executable, thus yielding:\r\n```\r\n$ ./xp\r\n\r\nUnhandled Exception:\r\nSystem.IO.FileNotFoundException: Cannot find [class-main.php] in [/Library/Frameworks/Mono.framework/Versions/4.2.2/bin/]\r\n  at Xp.Runners.IO.Paths+<Locate>c__Iterator1.MoveNext () <0x6c9700 + 0x00367> in <filename unknown>:0 \r\n  at System.Linq.Enumerable.First[TSource] (IEnumerable`1 source) <0x6c9488 + 0x000b8> in <filename unknown>:0 \r\n  at Xp.Runners.Command.Execute (Xp.Runners.CommandLine cmd, ConfigSource configuration) <0x6c3630 + 0x0037b> in <filename unknown>:0 \r\n  at Xp.Runners.CommandLine.Execute (ConfigSource configuration) <0x6c35b8 + 0x00047> in <filename unknown>:0 \r\n  at Xp.Runners.Xp.Main (System.String[] args) <0x6bfed8 + 0x00067> in <filename unknown>:0 \r\n[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Cannot find \r\n```"}}