Try an alternative recipe structure. Always define a cookbook-specific command for restarting rails app.