update cap and gemfile for deploy