Sha256: 851e99b02f86c8b823570b61ea2780104d575ac540a7a174bbc68c2b2010da5e
Contents?: true
Size: 448 Bytes
Versions: 1
Compression:
Stored size: 448 Bytes
Contents
#!/usr/bin/env ruby require File.expand_path('../../vendor/bundle/bundler/setup', __FILE__) require 'pp' # look for /alox-XXX-0.0.0/lib and map XXX => gem root aloxes = ($:.collect {|lib| lib.match(%r{(.*?/alox-([^-]+)-[^/]+)/lib}) }).compact.inject({}) {|acc, m| acc[m[2]] = m[1]; acc } ENV['PATH'] = aloxes.inject(ENV['PATH']) {|acc, alox| _, root = alox "#{root}/aloxbin:#{root}/aloxec:#{acc}" } if ARGV.length > 0 system(*ARGV) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alox-0.0.5 | bin/alox |