crossroads_capistrano 1.2.6 → 1.2.7

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.2.6"
6
+ s.version = "1.2.7"
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"]
@@ -29,8 +29,8 @@ namespace :passenger do
29
29
  task :install, :roles => :web do
30
30
  install_deps
31
31
 
32
- run "gem install passenger --no-rdoc --no-ri --version #{passenger_version}"
33
- run "passenger-install-apache2-module --auto"
32
+ run "if ! (gem list | grep passenger | grep #{passenger_version}); then gem install passenger --no-rdoc --no-ri --version #{passenger_version} && passenger-install-apache2-module --auto; fi"
33
+
34
34
  end
35
35
 
36
36
  task :install_deps, :roles => :web do
@@ -8,7 +8,7 @@ namespace :rvm do
8
8
  end
9
9
 
10
10
  task :install_deps, :roles => :web do
11
- yum.install( {:base => %w(curl git gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel)}, :stable, :shell => 'sh' )
11
+ yum.install( {:base => %w(curl git gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2)}, :stable, :shell => 'sh' )
12
12
  end
13
13
 
14
14
  end
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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 6
10
- version: 1.2.6
9
+ - 7
10
+ version: 1.2.7
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-04-29 00:00:00 +08:00
20
+ date: 2011-04-30 00:00:00 +08:00
21
21
  default_executable:
22
22
  dependencies: []
23
23