Use the correct ruby when delivering messages
authorTom Hughes <tom@compton.nu>
Tue, 8 Dec 2015 19:11:03 +0000 (19:11 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 8 Dec 2015 19:11:03 +0000 (19:11 +0000)
roles/web-frontend.rb

index 974ef3b803e2650dd64fd3472ce43ef15f29828c..971a51b3744ed636d83f971cc97e8a56c8bf2fb3 100644 (file)
@@ -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",