configure: Add --with-ruby and --with-rd2 option to specify command path.

These options are useful for rbenv user.