From: Carl Jenkins Date: 2010-07-24T02:54:22+09:00 Subject: Re: Typical Ruby (non-rails) project structure. Tim Pease wrote: > On Jul 22, 2010, at 11:41 AM, Carl Jenkins wrote: > >> What is/are the best-practice(s) for a Ruby project structure? >> >> As I am just learning Ruby I put everything in one file but, now I am >> learning about Modules etc.. >> >> In Java, classes where in packages which helped with code organization. >> Is there a typical way to layout a Ruby project structure? > > Take a look at Mr Bones. It encapsulates many ruby best-practices and > lots of rake tasks to take care of the day-to-day development tasks > > > gem install bones > > bones create new_project > cd new_project > > rake -T # shows you all the available tasks > rake bones:help # shows you the various project configuration > settings > > > Other tools in the same vein as Mr Bones are "hoe" and "jeweler" > > gem install hoe > gem install jeweler > > > I'm slightly partial to Mr Bones being the author and all. > > Blessings, > TwP I just tried 'bones' and it works perfectly! I did install 'jeweler' but, for some reason I am getting errors; probably because I do not have git installed or an account yet.... -- Posted via http://www.ruby-forum.com/.