I am learning ruby now since the past fortnight, and have learnt a lot. I began with ruby koans and random questions on Stackoverflow. But soon, time had come for me to start solving coding problems. And I could just open a text-editor and start coding. But that is not how I was told to do it.
The way I was told to approach the problem, is to first create a workspace, that conform to (unsaid?) ruby coding practices. Creating a particular folder structure, placing the files in the appropriate folders and what not. Then initiate a git repo so I can collaborate if necessary.
As with all things ruby, there is an easy way to do it.