fix cap deploy rb