Fix gem/environment files