We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebf9ceb commit 085c783Copy full SHA for 085c783
1 file changed
lib/warbler/traits/jar.rb
@@ -29,7 +29,7 @@ def before_configure
29
end
30
31
def after_configure
32
- config.init_contents << StringIO.new("require 'rubygems'\n")
+ config.init_contents << StringIO.new("require 'rubygems' unless defined?(Gem)\n")
33
34
35
def update_archive(jar)
0 commit comments