procman 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ require 'proc_man/constraint'
4
4
 
5
5
  module ProcMan
6
6
 
7
- VERSION = '1.3.0'
7
+ VERSION = '1.3.1'
8
8
 
9
9
  class Error < StandardError; end
10
10
 
@@ -20,7 +20,7 @@ Capistrano::Configuration.instance(:must_exist).load do
20
20
  after 'deploy:restart', "procman:restart"
21
21
 
22
22
  def procman_command(command)
23
- command = "sh -c \"cd #{deploy_to} && bundle exec procman #{command} --environment #{fetch(:rails_env, 'production')}\""
23
+ command = "sh -c \"cd #{current_path} && bundle exec procman #{command} --environment #{fetch(:rails_env, 'production')}\""
24
24
  if user = fetch(:procman_user, 'app')
25
25
  command = "sudo -u #{user} #{command}"
26
26
  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.3.0
4
+ version: 1.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -27,6 +27,7 @@ files:
27
27
  - lib/proc_man.rb
28
28
  - LICENCE
29
29
  - Procfile.template
30
+ - procman-1.3.0.gem
30
31
  - procman.gemspec
31
32
  - README.md
32
33
  homepage: http://atechmedia.com