I have setup god and provided script file to load and it working as expected. i wanted to take status of that god process from my rails application.
I am not able to take god status from my rails controller.
my code
require 'god'
class HomesController < ApplicationController
def status_check
God::status
end
end
but this gives me error uninitialized constant HomesController::God
Please help me to call god status from my web application.
Aucun commentaire:
Enregistrer un commentaire