Rupee gains against US dollar on positive global markets, but surge in crude oil prices limits sharp upside.