Sha256: 6c2da274c9df52feb59504d0149b15176bfea4b142e54ffcc73e73d4fee3bdaa
Contents?: true
Size: 359 Bytes
Versions: 6
Compression:
Stored size: 359 Bytes
Contents
class BowerVendor::Fetch < BowerVendor::Base def execute return if vendors.empty? script = executable puts "excutable: #{script}" Dir.chdir(work_dir) do fork do exec "#{script} install" end Process.wait end end def executable f = "#{local_node_bin}/bower" File.exists?(f) ? f : 'bower' end end
Version data entries
6 entries across 6 versions & 1 rubygems