I'm not sure how much room a ranger has, but i had an s10 once and it didn't have much room across the top. I'd try mounting it to the floor, the side of your console if you have 1. Heres a pic I found on ebay that may help ya out.
Its kinda expensive but you maybe able to make something similiar