The source code is included in the trial version download, or you can get the samples in a separate download at: http://www.iforce2d.net/rube/rube-sampleLoaders.zip
It's in the Demo folder, in LoadRube.cpp and uses some other files in the 'rubestuff' folder there.
Or did you mean the .rube files used to make the demo scenes?