Sha256: 09d792c9f4c579564c943618169b29880884df5cbf8d27de062904ef62b6ae19
Contents?: true
Size: 655 Bytes
Versions: 8
Compression:
Stored size: 655 Bytes
Contents
require 'fileutils' require File.join(File.dirname(__FILE__), "env_handler") vendor_path = File.join(FileUtils.pwd, 'vendor') mack_path = File.join(vendor_path, 'framework', 'mack', 'lib') mack_more_path = File.join(vendor_path, 'framework', 'mack-more') gem_path = File.join(vendor_path, 'gems') if File.exists?(mack_path) $:.insert(0, File.expand_path(mack_path)) else require 'rubygems' if @mack_gem_version gem 'mack', @mack_gem_version else gem 'mack' end end if File.exists?(mack_more_path) Dir.glob(File.join(mack_more_path, '*')).each_with_index do |d, i| $:.insert(i+1, File.expand_path(File.join(d, 'lib'))) end end
Version data entries
8 entries across 8 versions & 1 rubygems