The rifle itself costs $580.00 or 24 gold bars, assuming you don't have any discounts earned when buying it. Despite clearly being associated with the character, you cannot buy the elephant rifle from Gus, though you can shoot lots of animals with it and sell him the pelts.