# File lib/warbler/traits/jbundler.rb, line 32 def add_jbundler_jars require 'jbundler/config' classpath = ::JBundler::Config.new.classpath_file if File.exists?( classpath ) require File.expand_path( classpath ) else raise 'jbundler support needs jruby to create a local config: jruby -S jbundle install' end # use only the jars from jbundler and jruby config.java_libs += jruby_jars config.java_libs += JBUNDLER_CLASSPATH config.java_libs.uniq! {|lib| lib.split(File::SEPARATOR).last } config.init_contents << "#{config.warbler_templates}/jbundler.erb" end
Generated with the Darkfish Rdoc Generator 2.