ms_deploy 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ms_deploy/recipes/unicorn.rb +1 -2
- data/lib/ms_deploy/version.rb +1 -1
- metadata +2 -2
@@ -1,9 +1,7 @@
|
|
1
1
|
Capistrano::Configuration.instance.load do
|
2
2
|
|
3
3
|
set :unicorn_bin, "bundle exec unicorn"
|
4
|
-
set :unicorn_config, "config/unicorn.#{fetch(:stage, 'production')}.rb"
|
5
4
|
set :unicorn_pid, "tmp/pids/unicorn.pid"
|
6
|
-
|
7
5
|
#require "capistrano-unicorn"
|
8
6
|
|
9
7
|
namespace :deploy do
|
@@ -15,6 +13,7 @@ Capistrano::Configuration.instance.load do
|
|
15
13
|
|
16
14
|
desc "Start unicorn"
|
17
15
|
task :start, :except => { :no_release => true } do
|
16
|
+
set :unicorn_config, "config/unicorn.#{fetch(:stage, 'production')}.rb"
|
18
17
|
run "cd #{current_path} && #{try_sudo} #{unicorn_bin} -c #{current_path}/#{unicorn_config} -E #{rails_env} -D"
|
19
18
|
end
|
20
19
|
|
data/lib/ms_deploy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ms_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gemcutter
|