Created
May 18, 2014 10:11
-
-
Save talnetd/02f29d71ffb521165a50 to your computer and use it in GitHub Desktop.
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
root = "/vagrant/current" | |
working_directory root | |
pid "#{root}/tmp/pids/unicorn.pid" | |
stderr_path "#{root}/log/unicorn.log" | |
stdout_path "#{root}/log/unicorn.log" | |
listen "/tmp/unicorn.projectname.sock" | |
worker_processes 2 | |
timeout 30 | |
# Force the bundler gemfile environment variable to | |
# reference the capistrano "current" symlink | |
before_exec do |_| | |
ENV["BUNDLE_GEMFILE"] = File.join(root, 'Gemfile') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment