I’m at a loss as to whether this is a Warbler, JRuby, or Bundler issue.
I’m
hoping someone else may have some insight. This is an extension of
I have a sample app at GitHub - doxavore/warbler144 with a JAR
generated on an Ubuntu machine. I get no errors when generating the JAR
on
Linux or OSX. Regardless of where the JAR was generated, it runs fine on
OSX (tested on 1.8.4) and fails every time on my Ubuntu 13.04 laptop and
Ubuntu 12.04 server, all 64-bit.
The trace looks just the same regardless of the linux machine I run this
JAR on.
Does anyone have any suggestions where I might even look to try to
resolve
this issue?
doug@qa2:~$ java -jar myapp.jar
LoadError: no such file to load – bundler/index
fetch_specs at
jar:file:/home/doug/myapp.jar!/gems/bundler-1.3.5/lib/bundler/source/rubygems.rb:165
specs at
jar:file:/home/doug/myapp.jar!/gems/bundler-1.3.5/lib/bundler/source/rubygems.rb:67
materialize at
jar:file:/home/doug/myapp.jar!/gems/bundler-1.3.5/lib/bundler/lazy_specification.rb:52
materialize at
jar:file:/home/doug/myapp.jar!/gems/bundler-1.3.5/lib/bundler/spec_set.rb:88
map! at org/jruby/RubyArray.java:2393
materialize at
jar:file:/home/doug/myapp.jar!/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85
specs at
jar:file:/home/doug/myapp.jar!/gems/bundler-1.3.5/lib/bundler/definition.rb:114
specs_for at
jar:file:/home/doug/myapp.jar!/gems/bundler-1.3.5/lib/bundler/definition.rb:159
requested_specs at
jar:file:/home/doug/myapp.jar!/gems/bundler-1.3.5/lib/bundler/definition.rb:148
requested_specs at
jar:file:/home/doug/myapp.jar!/gems/bundler-1.3.5/lib/bundler/environment.rb:18
setup at
jar:file:/home/doug/myapp.jar!/gems/bundler-1.3.5/lib/bundler/runtime.rb:13
setup at
jar:file:/home/doug/myapp.jar!/gems/bundler-1.3.5/lib/bundler.rb:120
(root) at
jar:file:/home/doug/myapp.jar!/gems/bundler-1.3.5/lib/bundler/setup.rb:7
require at org/jruby/RubyKernel.java:1027
(root) at
jar:file:/tmp/jruby8823182374008356699extract/jruby-stdlib-1.7.2.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1
require at
jar:file:/tmp/jruby8823182374008356699extract/jruby-stdlib-1.7.2.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:60
require at org/jruby/RubyKernel.java:1027
(root) at
file:/home/doug/myapp.jar!/warbler144/config/boot.rb:13
(root) at
jar:file:/tmp/jruby8823182374008356699extract/jruby-stdlib-1.7.2.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1
require at org/jruby/RubyKernel.java:1027
require at
jar:file:/tmp/jruby8823182374008356699extract/jruby-stdlib-1.7.2.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36
(root) at
file:/home/doug/myapp.jar!/warbler144/config/application.rb:1
load at org/jruby/RubyKernel.java:1046
(root) at
jar:file:/tmp/jruby8823182374008356699extract/jruby-stdlib-1.7.2.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1
require at org/jruby/RubyKernel.java:1027
require at
jar:file:/tmp/jruby8823182374008356699extract/jruby-stdlib-1.7.2.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36
(root) at file:/home/doug/myapp.jar!/warbler144/bin/myapp:3
Thanks,
Doug