gem and configure fix for deploy bootstrap