{"action":"closed","issue":{"url":"https://api.github.com/repos/jruby/jruby/issues/3176","labels_url":"https://api.github.com/repos/jruby/jruby/issues/3176/labels{/name}","comments_url":"https://api.github.com/repos/jruby/jruby/issues/3176/comments","events_url":"https://api.github.com/repos/jruby/jruby/issues/3176/events","html_url":"https://github.com/jruby/jruby/issues/3176","id":96998157,"number":3176,"title":"CWD is uri:classloader: then require_relative might not work","user":{"login":"mkristian","id":35058,"avatar_url":"https://avatars.githubusercontent.com/u/35058?v=3","gravatar_id":"","url":"https://api.github.com/users/mkristian","html_url":"https://github.com/mkristian","followers_url":"https://api.github.com/users/mkristian/followers","following_url":"https://api.github.com/users/mkristian/following{/other_user}","gists_url":"https://api.github.com/users/mkristian/gists{/gist_id}","starred_url":"https://api.github.com/users/mkristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkristian/subscriptions","organizations_url":"https://api.github.com/users/mkristian/orgs","repos_url":"https://api.github.com/users/mkristian/repos","events_url":"https://api.github.com/users/mkristian/events{/privacy}","received_events_url":"https://api.github.com/users/mkristian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jruby/jruby/labels/core","name":"core","color":"02e10c"},{"url":"https://api.github.com/repos/jruby/jruby/labels/JRuby%201.7.x","name":"JRuby 1.7.x","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"mkristian","id":35058,"avatar_url":"https://avatars.githubusercontent.com/u/35058?v=3","gravatar_id":"","url":"https://api.github.com/users/mkristian","html_url":"https://github.com/mkristian","followers_url":"https://api.github.com/users/mkristian/followers","following_url":"https://api.github.com/users/mkristian/following{/other_user}","gists_url":"https://api.github.com/users/mkristian/gists{/gist_id}","starred_url":"https://api.github.com/users/mkristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkristian/subscriptions","organizations_url":"https://api.github.com/users/mkristian/orgs","repos_url":"https://api.github.com/users/mkristian/repos","events_url":"https://api.github.com/users/mkristian/events{/privacy}","received_events_url":"https://api.github.com/users/mkristian/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jruby/jruby/milestones/36","html_url":"https://github.com/jruby/jruby/milestones/JRuby%201.7.22","labels_url":"https://api.github.com/repos/jruby/jruby/milestones/36/labels","id":1112120,"number":36,"title":"JRuby 1.7.22","description":"","creator":{"login":"enebo","id":19819,"avatar_url":"https://avatars.githubusercontent.com/u/19819?v=3","gravatar_id":"","url":"https://api.github.com/users/enebo","html_url":"https://github.com/enebo","followers_url":"https://api.github.com/users/enebo/followers","following_url":"https://api.github.com/users/enebo/following{/other_user}","gists_url":"https://api.github.com/users/enebo/gists{/gist_id}","starred_url":"https://api.github.com/users/enebo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enebo/subscriptions","organizations_url":"https://api.github.com/users/enebo/orgs","repos_url":"https://api.github.com/users/enebo/repos","events_url":"https://api.github.com/users/enebo/events{/privacy}","received_events_url":"https://api.github.com/users/enebo/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":12,"state":"open","created_at":"2015-05-15T13:41:36Z","updated_at":"2015-07-24T13:48:20Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-07-24T08:14:27Z","updated_at":"2015-07-24T13:48:20Z","closed_at":"2015-07-24T13:48:20Z","body":"file test.rb:\r\n```\r\np __FILE__\r\nrequire_relative 'other'\r\n```\r\nand file other.rb:\r\n```\r\np 123\r\n```\r\nthen following fails:\r\n```\r\n$ bin/jruby -C uri:classloader:/ test.rb\r\n\"test.rb\"\r\nLoadError: no such file to load -- /home/christian/projects/active/jruby/jruby17/uri:classloader:/other\r\n           require at org/jruby/RubyKernel.java:1040\r\n           require at /home/christian/projects/active/jruby/jruby17/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54\r\n  require_relative at file:/home/christian/projects/active/jruby/jruby17/lib/jruby.jar!/jruby/kernel19/kernel.rb:24\r\n            (root) at test.rb:2\r\n```"}}