This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env jruby | |
require 'rubygems' | |
require 'spoon' | |
APPNAME = 'fileserver' | |
WORK_PATH = Dir.pwd | |
EXEC = "#{ENV['HOME']}/.rbenv/shims/puma" | |
PID_PATH = "#{WORK_PATH}/log/#{APPNAME}.pid" | |
OUT_PATH = "#{WORK_PATH}/log/#{APPNAME}.out.log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require 'rubygems' | |
require 'bundler' | |
Bundler.setup(:default) | |
APP_ROOT = File.join(File.dirname(__FILE__)) | |
SUPPORTED_BROWSERS=%w(firefox chrome safari ie9 ie8 ie7) | |
TEST_BROWSER='poltergeist' | |
# See: http://www.ruby-forum.com/topic/207203 |