{"action":"created","issue":{"url":"https://api.github.com/repos/jruby/jruby/issues/3828","repository_url":"https://api.github.com/repos/jruby/jruby","labels_url":"https://api.github.com/repos/jruby/jruby/issues/3828/labels{/name}","comments_url":"https://api.github.com/repos/jruby/jruby/issues/3828/comments","events_url":"https://api.github.com/repos/jruby/jruby/issues/3828/events","html_url":"https://github.com/jruby/jruby/issues/3828","id":151066012,"number":3828,"title":"jruby-rack adjust_gem_path has no effect","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%209000","name":"JRuby 9000","color":"bfe5bf"},{"url":"https://api.github.com/repos/jruby/jruby/labels/regression","name":"regression","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jruby/jruby/milestones/54","html_url":"https://github.com/jruby/jruby/milestones/JRuby%209.1.3.0","labels_url":"https://api.github.com/repos/jruby/jruby/milestones/54/labels","id":1777472,"number":54,"title":"JRuby 9.1.3.0","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":55,"closed_issues":16,"state":"open","created_at":"2016-05-19T19:37:59Z","updated_at":"2016-06-07T08:50:10Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2016-04-26T07:44:02Z","updated_at":"2016-06-07T08:50:10Z","closed_at":"2016-06-07T08:50:10Z","body":"<!--\r\nThis is a simple template for filing JRuby isuses.\r\n\r\nPlease help us help you by providing the information below.\r\n\r\nText inside XML comment tags will not be shown in your report.\r\n-->\r\n\r\n### Environment\r\n\r\nwhen investigating the broken j2ee tests on travis it shows that the ```ENV['GEM_PATH']``` set by jruby-rack has no effect on ```Gem.path``` and so does not show up in the testcase.\r\n\r\n<!--\r\nProvide at least:\r\n* JRuby version (`jruby -v`) and command line (flags, JRUBY_OPTS, etc)\r\n* Operating system and platform (e.g. `uname -a`)\r\n\r\nOther relevant info you may wish to add:\r\n* Installed or activated gems\r\n* Application/framework version (e.g. Rails, Sinatra)\r\n* Environment variables\r\n-->\r\n\r\n### Expected Behavior\r\n\r\njruby does not call Gem.path before requiring a file outside the core.\r\n\r\n<!--\r\nDescribe your expectation of how JRuby should behave.\r\nProvide an executable Ruby script or a link to an example repository.\r\n-->\r\n\r\n### Actual Behavior\r\n```\r\n[INFO] \turi:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:403:in `path'\r\n[INFO] \turi:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/dependency.rb:316:in `to_specs'\r\n[INFO] \turi:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/dependency.rb:330:in `to_spec'\r\n[INFO] \turi:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_gem.rb:65:in `gem'\r\n[INFO] \turi:classloader:/jruby/kernel/gem_prelude.rb:9:in `<top>'\r\n[INFO] \tfile:/Users/cmeier/.m2/repository/org/jruby/jruby-core/9.1.0.0-SNAPSHOT/jruby-core-9.1.0.0-SNAPSHOT.jar!/jruby/preludes.rb:1:in `load'\r\n[INFO] \tfile:/Users/cmeier/.m2/repository/org/jruby/jruby-core/9.1.0.0-SNAPSHOT/jruby-core-9.1.0.0-SNAPSHOT.jar!/jruby/preludes.rb:1:in `<top>'\r\n```\r\nwhich gets activated on jruby startup.\r\n\r\ncommit 4a8a2bcc3d734a355b2a29659aa5dac3e46acb1f introduce this problem.\r\n\r\n\r\n<!--\r\nDescribe or show the actual behavior.\r\nProvide text or screen capture showing the behavior.\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/jruby/jruby/issues/comments/224218850","html_url":"https://github.com/jruby/jruby/issues/3828#issuecomment-224218850","issue_url":"https://api.github.com/repos/jruby/jruby/issues/3828","id":224218850,"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},"created_at":"2016-06-07T08:50:10Z","updated_at":"2016-06-07T08:50:10Z","body":"already fixed with https://github.com/jruby/jruby/pull/3892 and travis `-Pj2ee` is also green again."}}
{"actor":{"display_login":"mkristian"}}