ROR commands to create a folder

does any one have tried to create a folder from a ROR command.

in my application i want to check weather their is existing folder with
a given name and if it does not exists to make a new folder.

is some one have tried this pls tell me how to achieve this

See the ruby docs, in particular the File and Dir class.