{"action":"created","issue":{"url":"https://api.github.com/repos/jruby/warbler/issues/157","repository_url":"https://api.github.com/repos/jruby/warbler","labels_url":"https://api.github.com/repos/jruby/warbler/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/jruby/warbler/issues/157/comments","events_url":"https://api.github.com/repos/jruby/warbler/issues/157/events","html_url":"https://github.com/jruby/warbler/issues/157","id":13751017,"number":157,"title":"bundler using jars can't load with no ruby installed","user":{"login":"betelgeuse","id":34627,"avatar_url":"https://avatars.githubusercontent.com/u/34627?v=3","gravatar_id":"","url":"https://api.github.com/users/betelgeuse","html_url":"https://github.com/betelgeuse","followers_url":"https://api.github.com/users/betelgeuse/followers","following_url":"https://api.github.com/users/betelgeuse/following{/other_user}","gists_url":"https://api.github.com/users/betelgeuse/gists{/gist_id}","starred_url":"https://api.github.com/users/betelgeuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betelgeuse/subscriptions","organizations_url":"https://api.github.com/users/betelgeuse/orgs","repos_url":"https://api.github.com/users/betelgeuse/repos","events_url":"https://api.github.com/users/betelgeuse/events{/privacy}","received_events_url":"https://api.github.com/users/betelgeuse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2013-04-29T08:55:46Z","updated_at":"2016-05-19T17:18:04Z","closed_at":null,"body":"When I try to run the created jars with env -i java -jar I get failures from bundler that it can't load its files. I will be pushing a failed test. Here's the output:\r\n\r\n```\r\nbetelgeuse@mac ~/checkouts/warbler $ bundle exec rspec -d --tag wip spec/warbler/bundler_spec.rb \r\nRun options: include {:wip=>true}\r\nLoadError: no such file to load -- bundler/dep_proxy\r\n    expand_dependencies at jar:file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/gems/bundler-1.3.5/lib/bundler/definition.rb:556\r\n                   each at org/jruby/RubyArray.java:1613\r\n    expand_dependencies at jar:file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/gems/bundler-1.3.5/lib/bundler/definition.rb:555\r\n                   each at org/jruby/RubyArray.java:1613\r\n    expand_dependencies at jar:file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/gems/bundler-1.3.5/lib/bundler/definition.rb:553\r\n  converge_locked_specs at jar:file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/gems/bundler-1.3.5/lib/bundler/definition.rb:524\r\n                resolve at jar:file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/gems/bundler-1.3.5/lib/bundler/definition.rb:167\r\n                  specs at jar:file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/gems/bundler-1.3.5/lib/bundler/definition.rb:114\r\n              specs_for at jar:file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/gems/bundler-1.3.5/lib/bundler/definition.rb:159\r\n        requested_specs at jar:file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/gems/bundler-1.3.5/lib/bundler/definition.rb:148\r\n        requested_specs at jar:file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/gems/bundler-1.3.5/lib/bundler/environment.rb:18\r\n                  setup at jar:file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/gems/bundler-1.3.5/lib/bundler/runtime.rb:13\r\n                  setup at jar:file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/gems/bundler-1.3.5/lib/bundler.rb:120\r\n                 (root) at jar:file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/gems/bundler-1.3.5/lib/bundler/setup.rb:17\r\n                require at org/jruby/RubyKernel.java:1027\r\n                 (root) at jar:file:/var/folders/vq/sv00hgxs7nlf_p_76vm2ps1c0000gn/T/jruby3568052306151186079extract/jruby-stdlib-1.7.3.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1\r\n                require at jar:file:/var/folders/vq/sv00hgxs7nlf_p_76vm2ps1c0000gn/T/jruby3568052306151186079extract/jruby-stdlib-1.7.3.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:60\r\n                   load at org/jruby/RubyKernel.java:1046\r\n                 (root) at file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/sample_bundler_hello/bin/sample_bundler_hello.rb:2\r\n                require at org/jruby/RubyKernel.java:1027\r\n                 (root) at file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/META-INF/main.rb:1\r\n                 (root) at file:/Users/betelgeuse/checkouts/warbler/tmp/created_jar.jar!/META-INF/main.rb:1\r\nerror: org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- bundler/dep_proxy\r\nF\r\n\r\nFailures:\r\n\r\n  1) Warbler::Jar with Bundler in a trivial bundler app should create jar and be able to run it with no environment\r\n     Failure/Error: output.should == \"Hello World\\n\"\r\n       expected: \"Hello World\\n\"\r\n            got: \"\" (using ==)\r\n       Diff:\r\n       @@ -1,2 +1 @@\r\n       -Hello World\r\n     # ./spec/warbler/bundler_spec.rb:162:in `block (3 levels) in <top (required)>'\r\n\r\nFinished in 4.34 seconds\r\n1 example, 1 failure\r\n\r\nFailed examples:\r\n\r\nrspec ./spec/warbler/bundler_spec.rb:158 # Warbler::Jar with Bundler in a trivial bundler app should create jar and be able to run it with no environment\r\n```"},"comment":{"url":"https://api.github.com/repos/jruby/warbler/issues/comments/220392352","html_url":"https://github.com/jruby/warbler/issues/157#issuecomment-220392352","issue_url":"https://api.github.com/repos/jruby/warbler/issues/157","id":220392352,"user":{"login":"fedenusy","id":1056523,"avatar_url":"https://avatars.githubusercontent.com/u/1056523?v=3","gravatar_id":"","url":"https://api.github.com/users/fedenusy","html_url":"https://github.com/fedenusy","followers_url":"https://api.github.com/users/fedenusy/followers","following_url":"https://api.github.com/users/fedenusy/following{/other_user}","gists_url":"https://api.github.com/users/fedenusy/gists{/gist_id}","starred_url":"https://api.github.com/users/fedenusy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedenusy/subscriptions","organizations_url":"https://api.github.com/users/fedenusy/orgs","repos_url":"https://api.github.com/users/fedenusy/repos","events_url":"https://api.github.com/users/fedenusy/events{/privacy}","received_events_url":"https://api.github.com/users/fedenusy/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T17:18:04Z","updated_at":"2016-05-19T17:18:04Z","body":"Probably not the \"test\" you were looking for, but I tried your branch and it worked perfectly 😄 \r\n\r\nThank you @mkristian 👍 "}}