Sha256: 73d0b2d3dfc00f8519106d8166486e4e034f2971261edf8cca8b467ee68d1430

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

#!/usr/bin/env ruby

require 'pathname'

@root = Pathname.new(File.dirname(__FILE__)).parent.expand_path
action = ARGV[0]

case action
when "start"
  require 'rubygems'
  require 'rack'
  config = @root.join('config.ru').to_s
  Rack::Server.start(:config => config, :Port => 9292)
else
  puts "Usage: visage start"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
visage-app-0.1.0 bin/visage