Sha256: 57772d79a6a654cfcfe4a52b0d92414c2a88ff253ccf0325d71b4a35796e0a97

Contents?: true

Size: 672 Bytes

Versions: 13

Compression:

Stored size: 672 Bytes

Contents

<% assignment_operator = config.override_gem_home ? "=" : "||=" %>
if $servlet_context.nil?
  ENV['GEM_HOME'] <%= assignment_operator %> File.expand_path(File.join('..', '..', '<%= config.gem_path %>'), __FILE__)
<% if config.bundler && config.bundler[:gemfile_path] %>
  ENV['BUNDLE_GEMFILE'] ||= File.expand_path(File.join('..', '..', '<%= config.bundler[:gemfile_path] %>'), __FILE__)
<% end %>
else
  ENV['GEM_HOME'] <%= assignment_operator %> $servlet_context.getRealPath('<%= config.gem_path %>')
<% if config.bundler && config.bundler[:gemfile_path] %>
  ENV['BUNDLE_GEMFILE'] ||= $servlet_context.getRealPath('/<%= config.bundler[:gemfile_path] %>')
<% end %>
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
warbler-1.4.10 lib/warbler/templates/war.erb
warbler-2.0.0 lib/warbler/templates/war.erb
warbler-2.0.0.rc3 lib/warbler/templates/war.erb
warbler-2.0.0.rc2 lib/warbler/templates/war.erb
warbler-2.0.0.rc1 lib/warbler/templates/war.erb
warbler-2.0.0.pre3 lib/warbler/templates/war.erb
warbler-2.0.0.pre2 lib/warbler/templates/war.erb
warbler-1.4.9 lib/warbler/templates/war.erb
warbler-1.4.8 lib/warbler/templates/war.erb
warbler-2.0.0.pre1 lib/warbler/templates/war.erb
warbler-1.4.7 lib/warbler/templates/war.erb
warbler-1.4.6 lib/warbler/templates/war.erb
warbler-1.4.5 lib/warbler/templates/war.erb