Skip to content

Instantly share code, notes, and snippets.

@duksis
Created November 18, 2013 10:14
Show Gist options
  • Save duksis/7525567 to your computer and use it in GitHub Desktop.
Save duksis/7525567 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'unicorn' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
require 'rubygems'
require 'bundler/setup'
if ENV['COV']
require 'simplecov'
require 'json'
SimpleCov.start
SimpleCov.command_name "Live #{rand(100000)}"
puts 'required simplecov'
end
load Gem.bin_path('unicorn', 'unicorn')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment