Sha256: c71183c7b3430d94ad44146f6658e1e844741333abee58ed0886417b6cdf5908

Contents?: true

Size: 512 Bytes

Versions: 4

Compression:

Stored size: 512 Bytes

Contents

#--
# (c) Copyright 2007-2008 Sun Microsystems, Inc.
# See the file LICENSES.txt included with the distribution for
# software license details.
#++

if defined?(JRUBY_VERSION)
  begin
    # First, make sure plugin directory is at the front of the load path
    # (to avoid picking up gem-installed warbler)
    $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')
    require 'warbler'
  rescue LoadError
    # Next, try activating the gem
    gem 'warbler'
    require 'warbler'
  end

  Warbler::Task.new
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
aslakhellesoy-warbler-0.9.12 tasks/warbler.rake
aslakhellesoy-warbler-0.9.13.4 tasks/warbler.rake
aslakhellesoy-warbler-0.9.13 tasks/warbler.rake
bekkopen-warbler-0.9.13.1 tasks/warbler.rake