modify config and Gemfiles