From 77c9573a7b67d1d82388620410c2830bca3317f7 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 8 Dec 2015 19:11:03 +0000 Subject: [PATCH] Use the correct ruby when delivering messages --- roles/web-frontend.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/web-frontend.rb b/roles/web-frontend.rb index 974ef3b80..971a51b37 100644 --- a/roles/web-frontend.rb +++ b/roles/web-frontend.rb @@ -31,7 +31,7 @@ default_attributes( :messages => { :comment => "messages.openstreetmap.org", :domains => ["messages.openstreetmap.org"], - :command => "/srv/www.openstreetmap.org/rails/script/deliver-message $local_part", + :command => "/usr/local/bin/passenger-ruby /srv/www.openstreetmap.org/rails/script/deliver-message $local_part", :user => "rails", :group => "rails", :home_directory => "/srv/www.openstreetmap.org/rails", -- 2.39.5