Sha256: 45970dc4f814f50097dc2ca2b354741c2cae97d64c08903bbe16df57ea4d7925
Contents?: true
Size: 497 Bytes
Versions: 2
Compression:
Stored size: 497 Bytes
Contents
# coding: utf-8 require 'rake' require 'rubygems' require 'carioca' $VERBOSE = nil if Gem::Specification.respond_to?(:find_by_name) begin spec = Gem::Specification.find_by_name('carioca') res = spec.lib_dirs_glob.split('/') rescue LoadError spec = nil end else spec = Gem.searcher.find('carioca') res = Gem.searcher.lib_dirs_for(spec).split('/') end res.pop tasks_path = res.join('/').concat('/lib/carioca/rake/tasks/') Dir["#{tasks_path}/*.task*"].each { |ext| load ext }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
carioca-2.0.2 | lib/carioca/rake/manage.rb |
carioca-2.0.1 | lib/carioca/rake/manage.rb |