I am trying to create a war file from my Rails project using Warbler .
This is my gemfile:
source 'https://rubygems.org' ruby '1.9.3', :engine => 'jruby', :engine_version => '1.7.4'
The application runs successfully on the Puma server (before adding the warbler).
I just installed warbler using
gem install warbler
Then I launched warble . But I got the error:
LoadError: no such file to load -- zip/zip require at org/jruby/RubyKernel.java:1054 (root) at /home/stever/.rvm/gems/jruby-1.7.4/gems/warbler-1.3.8/lib/warbler/jar.rb:8 require at org/jruby/RubyKernel.java:1054 (root) at /home/stever/.rvm/gems/jruby-1.7.4/gems/warbler-1.3.8/lib/warbler/task.rb:1 require at org/jruby/RubyKernel.java:1054 (root) at /home/stever/.rvm/gems/jruby-1.7.4/gems/warbler-1.3.8/lib/warbler/task.rb:11 require at org/jruby/RubyKernel.java:1054 (root) at /home/stever/.rvm/gems/jruby-1.7.4/gems/warbler-1.3.8/lib/warbler.rb:1 load at org/jruby/RubyKernel.java:1073 (root) at /home/stever/.rvm/gems/jruby-1.7.4/gems/warbler-1.3.8/lib/warbler.rb:35 eval at org/jruby/RubyKernel.java:1093 (root) at /home/stever/.rvm/gems/jruby-1.7.4/bin/ruby_noexec_wrapper:14
Then I tried to add it to the Gemfile as above. Even then I get an error. I also can not start my Puma server.
I have rubyzip installed.
source share