Sha256: c41e8e617fbb43a55aedf1be56577076ee5b5535afa55ccb3a6dcb4787ae6fdd

Contents?: true

Size: 430 Bytes

Versions: 2

Compression:

Stored size: 430 Bytes

Contents

require 'rubygems'
require 'zip/zip'

unless File.exist?("<%= archive_name %>.war.extracted")
  puts "First run... extracting war contents to <%= archive_name %>.war.extracted..."
  %x{unzip <%= archive_name %>.war -d<%= archive_name %>.war.extracted}
  puts "Done."
end

puts "Loading Puma..."

Dir.chdir("<%= archive_name %>.war.extracted/WEB-INF")

NOT_IN_SERVLET_CONTAINER = true

gem 'puma'
load Gem.bin_path('puma', 'puma')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jruby-warck-1.0.2 lib/templates/jar-bootstrap.rb.erb
jruby-warck-1.0.1 lib/templates/jar-bootstrap.rb.erb