capistrano-deploy-management 0.1.20 → 0.1.21
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'capistrano-deploy-management'
|
4
4
|
s.description = 'Collection of Capistrano recipes for deploying Rails apps into high-performance environments'
|
5
|
-
s.version = '0.1.
|
5
|
+
s.version = '0.1.21'
|
6
6
|
s.platform = Gem::Platform::RUBY
|
7
7
|
s.authors = ['Dominik Rodler']
|
8
8
|
s.email = ['dominik.rodler@gmail.com']
|
data/changelog.md
CHANGED
@@ -7,7 +7,7 @@ module CapistranoDeployManagement
|
|
7
7
|
desc 'Install gems'
|
8
8
|
task :install, :except => {:no_release => true} do
|
9
9
|
bundle_cmd = fetch(:bundle_cmd, 'bundle')
|
10
|
-
bundle_flags = fetch(:bundle_flags, '--deployment --quiet')
|
10
|
+
bundle_flags = fetch(:bundle_flags, '--local --deployment --quiet')
|
11
11
|
bundle_without = [*fetch(:bundle_without, [:development, :test])].compact
|
12
12
|
|
13
13
|
args = [bundle_flags.to_s]
|
@@ -10,7 +10,10 @@ module CapistranoDeployManagement
|
|
10
10
|
namespace :unicorn do
|
11
11
|
desc 'Restart unicorn.'
|
12
12
|
task :restart, :roles => :app do
|
13
|
-
|
13
|
+
# FIXME: PID does not exist, thus restarting fails
|
14
|
+
# run "cd #{current_path} && kill -s USR2 #{unicorn_pid}"
|
15
|
+
unicorn.stop
|
16
|
+
unicorn.start
|
14
17
|
end
|
15
18
|
|
16
19
|
desc 'Start unicorn.'
|