tvd-unicorn 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -5,7 +5,6 @@ shift # get rid of unicorn argument
5
5
  export PATH="/data/zendesk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
6
6
  export UNICORN_PID=<%= File.join(node[:project_dir], node[:run_dir], "unicorn.pid") %>
7
7
  export HOME="<%= node[:home_dir] %>"
8
- shome="<%= node[:release_dir] %>"
9
8
  rhome="<%= node[:release_dir]/service/unicorn %>
10
9
 
11
10
  case $1 in
@@ -13,9 +12,8 @@ case $1 in
13
12
  unset LS_COLORS
14
13
  unset BUNDLE_GEMFILE GEM_PATH GEM_HOME RUBYOPT
15
14
 
16
- cd $shome
17
- <%= node[:ruby_loader] %> <%= node[:app_ruby] %> bundle check 2>&1 >/dev/null || { bundle install --quiet --local --path vendor/bundle || bundle check > /dev/null; }
18
- exec chpst -e $rhome/env <%= node[:ruby_loader] %> <%= node[:app_ruby] %> "$shome/bin/local-helper" <%= node[:unicorn_exec] %> -c <%= File.join(node[:project_dir], node[:app_dir], "config", "unicorn.rb") %> -E <%= node[:app_env] %> -D
15
+ cd $rhome
16
+ exec ./run
19
17
  ;;
20
18
 
21
19
  stop*)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tvd-unicorn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: