How to begin with a test driven ruby project

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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s