recipiez 0.5.14 → 0.5.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -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