I tried

	rdoc --main maindocpage rex.rb

where both maindocpage and rex.rb were in the current directory, and  
got the message:

	Could not find main page maindocpage

multiple times.

Thanks,
Ken