If you are using either of these versions press Alt+M then merge by distance. The tool is no longer called “remove doubles” and can no longer be accessed in the face drop down menu accessed by right clicking.
Anyways I hope that helps, here is my pyramid after making the ramp with those methods.