mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
9 lines
No EOL
247 B
Ruby
Executable file
9 lines
No EOL
247 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
require "rubygems"
|
|
|
|
libdir = File.join(File.dirname(File.dirname(__FILE__)), "lib")
|
|
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
|
|
|
require 'middleman'
|
|
args = ARGV.dup.unshift("server")
|
|
Middleman::CLI.start(args) |