The gate will most likely be in the way and it does not support much weight anyway. I have not done this but have given some thought to it. Remove the tail gate. Build an extension to the truck bed and support it from the hole in the bumper that is there for a trailer ball up to the rear of the bike. Bed extension will be much narrower than the gate and not restrict turning ability. It can even elevate the back of bike if needed but I don't think that would be necessary. The ramp will temporally attach to the extended support and should be foldable so it can be stored in the bed of truck. Thinking out loud.