recipiez 0.5.14 → 0.5.15

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.
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.5.14'
2
+ VERSION = '0.5.15'
3
3
  end
data/recipes/apache.rb CHANGED
@@ -40,7 +40,11 @@ Capistrano::Configuration.instance(true).load do
40
40
  desc "Install mongo to php"
41
41
  task :mongo_php do
42
42
  sudo "apt-get install -y php-pear php5-dev"
43
- sudo "pecl install mongo"
43
+ begin
44
+ sudo "pecl install mongo"
45
+ rescue
46
+ puts "Error installing mongo."
47
+ end
44
48
  put render("mongo_ini", binding), "mongo_ini"
45
49
  sudo "mv mongo_ini /etc/php5/conf.d/mongo.ini"
46
50
  sudo "/etc/init.d/apache2 reload"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 14
9
- version: 0.5.14
8
+ - 15
9
+ version: 0.5.15
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alastair Brunton