procman 1.7.2 → 1.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ require 'proc_man/constraint'
4
4
 
5
5
  module ProcMan
6
6
 
7
- VERSION = '1.7.2'
7
+ VERSION = '1.7.3'
8
8
 
9
9
  class Error < StandardError; end
10
10
 
@@ -30,11 +30,11 @@ Capistrano::Configuration.instance(:must_exist).load do
30
30
  process_opts = ''
31
31
  end
32
32
 
33
- command = "sh -c \"cd #{current_path} && bundle exec procman #{command} --environment #{fetch(:rails_env, 'production')} #{process_opts} #{procfile}\""
33
+ command = "sh -c \"cd #{current_path} && bundle exec procman #{command} --root #{current_path} --environment #{fetch(:rails_env, 'production')} #{procfile} #{process_opts} \""
34
34
 
35
35
  if user = fetch(:procman_user, nil)
36
36
  command = "sudo -u #{user} #{command}"
37
- end
37
+ end
38
38
 
39
39
  command
40
40
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: procman
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.2
4
+ version: 1.7.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -28,6 +28,7 @@ files:
28
28
  - lib/procman/capistrano.rb
29
29
  - LICENCE
30
30
  - Procfile.template
31
+ - procman-1.7.2.gem
31
32
  - procman.gemspec
32
33
  - README.md
33
34
  homepage: http://atechmedia.com