magic_recipes 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/magic_recipes/nginx.rb +1 -1
  2. metadata +2 -2
@@ -24,7 +24,7 @@ module MagicRecipes
24
24
  desc "Setup nginx configuration for this application"
25
25
  task :setup, roles: :web do
26
26
  template "nginx_#{rails_server}.erb", "/tmp/nginx_http_conf"
27
- run "#{sudo} rm #{http_enabled_path}/#{app_name}_*"
27
+ run "#{sudo} rm -f #{http_enabled_path}/#{app_name}_*"
28
28
  run "#{sudo} mv /tmp/nginx_http_conf #{http_enabled_path}/#{app_name}_#{rails_server}.conf"
29
29
  end
30
30
  after "deploy:setup", "nginx:setup"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
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-08-03 00:00:00.000000000 Z
12
+ date: 2012-09-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails