Sha256: 246ef33695a49285331e2d855da31465a1af64ead555b75adb332bebf18790e4

Contents?: true

Size: 621 Bytes

Versions: 3

Compression:

Stored size: 621 Bytes

Contents

<% assignment_operator = config.override_gem_home ? "=" : "||=" %>
if $servlet_context.nil?
  ENV['GEM_HOME'] <%= assignment_operator %> File.expand_path('../../WEB-INF', __FILE__)
<% if config.bundler && config.bundler[:gemfile_path] %>
  ENV['BUNDLE_GEMFILE'] = File.expand_path('../../<%= 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

3 entries across 3 versions & 1 rubygems

Version Path
warbler-1.4.0 lib/warbler/templates/war.erb
warbler-1.4.0.beta2 lib/warbler/templates/war.erb
warbler-1.4.0.beta1 lib/warbler/templates/war.erb