{"action":"created","issue":{"url":"https://api.github.com/repos/opal/opal/issues/915","labels_url":"https://api.github.com/repos/opal/opal/issues/915/labels{/name}","comments_url":"https://api.github.com/repos/opal/opal/issues/915/comments","events_url":"https://api.github.com/repos/opal/opal/issues/915/events","html_url":"https://github.com/opal/opal/pull/915","id":85757507,"number":915,"title":"Make cruby benchmark.rb + tests run on Opal","user":{"login":"vais","id":77592,"avatar_url":"https://avatars.githubusercontent.com/u/77592?v=3","gravatar_id":"","url":"https://api.github.com/users/vais","html_url":"https://github.com/vais","followers_url":"https://api.github.com/users/vais/followers","following_url":"https://api.github.com/users/vais/following{/other_user}","gists_url":"https://api.github.com/users/vais/gists{/gist_id}","starred_url":"https://api.github.com/users/vais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vais/subscriptions","organizations_url":"https://api.github.com/users/vais/orgs","repos_url":"https://api.github.com/users/vais/repos","events_url":"https://api.github.com/users/vais/events{/privacy}","received_events_url":"https://api.github.com/users/vais/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-06T14:28:17Z","updated_at":"2015-06-06T15:57:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opal/opal/pulls/915","html_url":"https://github.com/opal/opal/pull/915","diff_url":"https://github.com/opal/opal/pull/915.diff","patch_url":"https://github.com/opal/opal/pull/915.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/opal/opal/issues/comments/109607612","html_url":"https://github.com/opal/opal/pull/915#issuecomment-109607612","issue_url":"https://api.github.com/repos/opal/opal/issues/915","id":109607612,"user":{"login":"jgaskins","id":108205,"avatar_url":"https://avatars.githubusercontent.com/u/108205?v=3","gravatar_id":"","url":"https://api.github.com/users/jgaskins","html_url":"https://github.com/jgaskins","followers_url":"https://api.github.com/users/jgaskins/followers","following_url":"https://api.github.com/users/jgaskins/following{/other_user}","gists_url":"https://api.github.com/users/jgaskins/gists{/gist_id}","starred_url":"https://api.github.com/users/jgaskins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgaskins/subscriptions","organizations_url":"https://api.github.com/users/jgaskins/orgs","repos_url":"https://api.github.com/users/jgaskins/repos","events_url":"https://api.github.com/users/jgaskins/events{/privacy}","received_events_url":"https://api.github.com/users/jgaskins/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T15:57:21Z","updated_at":"2015-06-06T15:57:21Z","body":"Having a few troubles with this still:\r\n\r\n```\r\n➜  opal git:(538d7f1) ruby -v benchmark/run.rb test/cruby/benchmark/bm_app_answer.rb test/cruby/benchmark/bm_app_factorial.rb test/cruby/benchmark/bm_app_fib.rb\r\nruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]\r\nRUBY_GC_HEAP_INIT_SLOTS=1000000 (default value: 10000)\r\nRUBY_GC_MALLOC_LIMIT=1000000000 (default value: 16777216)\r\ntest/cruby/benchmark/bm_app_answer.rb    benchmark/run.rb:27:in `read': No such file or directory @ rb_sysopen - test/cruby/benchmark/bm_app_answer.rb (Errno::ENOENT)\r\n\tfrom benchmark/run.rb:27:in `block in <main>'\r\n\tfrom benchmark/run.rb:20:in `each'\r\n\tfrom benchmark/run.rb:20:in `<main>'\r\n```\r\n\r\nSame with the Opal version:\r\n\r\n```\r\n➜  opal git:(538d7f1) bundle exec opal -v benchmark/run.rb test/cruby/benchmark/bm_app_answer.rb test/cruby/benchmark/bm_app_factorial.rb test/cruby/benchmark/bm_app_fib.rb\r\nOpal v0.8.0.rc1\r\ntest/cruby/benchmark/bm_app_answer.rb    fs.js:500\r\n  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);\r\n                 ^\r\nError: ENOENT, no such file or directory 'test/cruby/benchmark/bm_app_answer.rb'\r\n    at Error (native)\r\n    at Object.fs.openSync (fs.js:500:18)\r\n    at Object.fs.readFileSync (fs.js:352:15)\r\n    at OpalClass.$read (/private/var/folders/rm/rl4k78_n1bgg08fhgcptpjn40000gn/T/opal-nodejs-runner-20150606-13014-1nehdba:26050:21)\r\n    at $a.$$p.TMP_3 (/private/var/folders/rm/rl4k78_n1bgg08fhgcptpjn40000gn/T/opal-nodejs-runner-20150606-13014-1nehdba:26645:61)\r\n    at Opal.yield1 (/private/var/folders/rm/rl4k78_n1bgg08fhgcptpjn40000gn/T/opal-nodejs-runner-20150606-13014-1nehdba:830:14)\r\n    at Array.def.$each.TMP_9 [as $each] (/private/var/folders/rm/rl4k78_n1bgg08fhgcptpjn40000gn/T/opal-nodejs-runner-20150606-13014-1nehdba:7287:26)\r\n    at /private/var/folders/rm/rl4k78_n1bgg08fhgcptpjn40000gn/T/opal-nodejs-runner-20150606-13014-1nehdba:26650:77\r\n    at Object.<anonymous> (/private/var/folders/rm/rl4k78_n1bgg08fhgcptpjn40000gn/T/opal-nodejs-runner-20150606-13014-1nehdba:26658:3)\r\n    at Module._compile (module.js:460:26)\r\n```\r\n\r\nAm I missing something?"}}