Sha256: d29fdd29150717d6a9ec0a32123132c0f35f234d4b5352c967362cb1d216b4b5
Contents?: true
Size: 1.02 KB
Versions: 10
Compression:
Stored size: 1.02 KB
Contents
require 'rubygems' #require 'bundler/setup' Encoding.default_external=Encoding::UTF_8 Encoding.default_internal=Encoding::UTF_8 if !RUBY_PLATFORM.include?("darwin") begin require 'rainbow' rescue puts "require 'rainbow' threw an exception" end else puts "skipping rainbow on mac os" class String def foreground arg return self end def bright return self end end end require 'semver' # if DEV_DEBUG is defined, puts_debug will send message to the console def puts_debug msg if(defined?(DEV_DEBUG)) puts msg end end # if DEV_DEBUG_VERBOSE is defined, puts_debug_verbose will send message to the console def puts_debug_verbose msg if(defined?(DEV_DEBUG_VERBOSE)) puts msg end end puts_debug "read " + __FILE__.foreground(:green) require "#{File.dirname(__FILE__)}/dev/Environment.rb" require "#{File.dirname(__FILE__)}/dev/Hash.rb" Dir["#{File.dirname(__FILE__)}/dev/**/*.rb"].each{ |f| require f } DEV_ROOT=Dev::Environment.dev_root
Version data entries
10 entries across 10 versions & 1 rubygems