Sha256: a62c50d6db91f53e60a87fa37b843d0c24b4931763365234aeb5ff005dfab307
Contents?: true
Size: 326 Bytes
Versions: 5
Compression:
Stored size: 326 Bytes
Contents
require 'rainbow' require 'fileutils' require 'yaml' def sys cmd STDOUT.print (cmd + "\n").color(:green) err '' unless system cmd end def err msg STDOUT.print (msg + "\n").color(:red) exit! end if defined?(Rails) && !Rails.root.nil? ROOT = File.realpath(Rails.root).to_s else ROOT = File.realpath('.').to_s end
Version data entries
5 entries across 5 versions & 1 rubygems