changed gem files pg and thin