Rupee gains 12 pasia against dollar