Running invoke with sinatra, guard