middleman/lib/middleman.rb

6 lines
225 B
Ruby
Raw Normal View History

libdir = File.dirname(__FILE__)
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
2009-11-13 21:25:16 +01:00
# Bundler
2009-11-17 07:21:36 +01:00
require File.join(File.dirname(libdir), "vendor", "gems", "environment") if ENV["RUN_CODE_RUN"]
require 'middleman/base'