SPOILER ALERT!

Not actually rubber. Luffy's devil fruit is not really the Gum-Gum Fruit, but

>! the Hito-Hito (i.e. Human-Human) fruit model Nika, which gives him the ability to manipulate his body however he can imagine, and upon awakening, also the surroundings.

So, this question is no longer valid.