crossroads_capistrano 1.4.19 → 1.4.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "crossroads_capistrano"
6
- s.version = "1.4.19"
6
+ s.version = "1.4.20"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Steve Kenworthy", "Ben Tillman", "Nathan Broadbent"]
9
9
  s.email = ["it_dept@crossroads.org.hk"]
@@ -40,7 +40,6 @@ namespace :passenger do
40
40
 
41
41
  task :install_deps, :roles => :web do
42
42
  yum.install( {:base => %w(curl-devel httpd-devel apr-devel openssl-devel zlib-devel e2fsprogs-devel krb5-devel)}, :stable )
43
- sudo "rm -rf /etc/httpd/conf.d/ssl.conf"
44
43
  end
45
44
 
46
45
  desc "Set up Apache and Passenger config files"
@@ -25,7 +25,7 @@ namespace :stack do
25
25
  namespace :bundler do
26
26
  desc "Install Bundler"
27
27
  task :setup do
28
- run "gem install bundler"
28
+ run "rvmsudo gem install bundler"
29
29
  end
30
30
  end
31
31
  end
@@ -12,14 +12,14 @@ end
12
12
  namespace :deploy do
13
13
  desc "Deploy permissions (give user access to everything)"
14
14
  task :user_permissions do
15
- sudo "chown -R #{user} #{deploy_to}"
15
+ sudo "chown -R #{user} #{deploy_to}", :shell => 'sh'
16
16
  $apache_permissions = false
17
17
  end
18
18
 
19
19
  desc "Set permissions on releases directory so old releases can be removed"
20
20
  task :release_permissions do
21
- run "if [ -d #{release_path}/ ]; then #{sudo} chown -R #{httpd_user}:#{httpd_group} #{release_path}/; fi"
22
- run "if [ -d #{release_path}/ ]; then #{sudo} chmod -R 755 #{release_path}/; fi"
21
+ run "if [ -d #{release_path}/ ]; then #{sudo} chown -R #{httpd_user}:#{httpd_group} #{release_path}/; fi", :shell => 'sh'
22
+ run "if [ -d #{release_path}/ ]; then #{sudo} chmod -R 755 #{release_path}/; fi", :shell => 'sh'
23
23
  end
24
24
  end
25
25
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crossroads_capistrano
3
3
  version: !ruby/object:Gem::Version
4
- hash: 33
5
- prerelease: false
4
+ hash: 47
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 19
10
- version: 1.4.19
9
+ - 20
10
+ version: 1.4.20
11
11
  platform: ruby
12
12
  authors:
13
13
  - Steve Kenworthy
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-06-21 00:00:00 +08:00
20
+ date: 2011-07-14 00:00:00 +08:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  requirements: []
152
152
 
153
153
  rubyforge_project: crossroads_capistrano
154
- rubygems_version: 1.3.7
154
+ rubygems_version: 1.6.2
155
155
  signing_key:
156
156
  specification_version: 3
157
157
  summary: Crossroads capistrano recipes