Commit hook sinatra server