recipiez 0.5.14 → 0.5.15
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/recipiez/version.rb +1 -1
- data/recipes/apache.rb +5 -1
- metadata +2 -2
data/lib/recipiez/version.rb
CHANGED
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
|
-
|
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"
|