Skip to content

Instantly share code, notes, and snippets.

@kfatehi
Created August 2, 2013 05:45
Show Gist options
  • Save kfatehi/6137748 to your computer and use it in GitHub Desktop.
Save kfatehi/6137748 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
ENV['RACK_ENV'] = 'production'
require 'rubygems'
require 'bait/cli'
Bait::CLI.send case ARGV[0] || "server"
when "server"
:serve
when "test"
:test
when "spec"
:test
when "init"
:init
else
:usage
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment