lib/picky.rb in picky-2.7.0 vs lib/picky.rb in picky-3.0.0.pre1

- old
+ new

@@ -1,16 +1,24 @@ -# Require the constants. -# -require File.expand_path '../constants', __FILE__ +module Picky -# Library bundling. -# -require File.expand_path '../bundling', __FILE__ + # Require the constants. + # + require ::File.expand_path '../picky/constants', __FILE__ -# Loader which handles framework and app loading. -# -require File.expand_path '../picky/loader', __FILE__ + # Library bundling. + # + require ::File.expand_path '../picky/bundling', __FILE__ -# Load the framework -# -Loader.load_framework -puts "Loaded picky with environment '#{PICKY_ENVIRONMENT}' in #{PICKY_ROOT} on Ruby #{RUBY_VERSION}." + # Loader which handles framework and app loading. + # + require ::File.expand_path '../picky/loader', __FILE__ + + # Load the framework + # + Loader.load_framework + puts "Loaded picky with environment '#{PICKY_ENVIRONMENT}' in #{PICKY_ROOT} on Ruby #{RUBY_VERSION}." + + # Check if delegators need to be installed. + # + require ::File.expand_path '../picky/sinatra', __FILE__ + +end \ No newline at end of file