From: "Joseph E. Savard" Date: 2010-07-27T04:59:11+09:00 Subject: Re: Directory structure best practice? This should be really helpful to you: http://www.jamievandyke.com/building-a-gem-using-bdd Also, look in gems you have installed. Below here is what you asked for, typical and simple: MyGem/ README implDemo.rb lib/ MyGem.rb MyGem/ gemthis.rb gemthat.rb test/ unit.rb > From: MrZombie > Organization: albasani.net > Reply-To: > Newsgroups: comp.lang.ruby > Date: Tue, 27 Jul 2010 04:30:25 +0900 > To: ruby-talk ML > Subject: Directory structure best practice? > > Hi all! > > What are the best practices concerning directory structures for Ruby programs? > > I want to run tests using Cucumber and RSpec, so referring to the RSpec > book I created a features/ and spec/ folders for the tests, a lib/ > folder for my code, and a bin/ folder for all that shall be executed. > > What do I need to roll out my own Gem, if needed? What is the expected > distribution format of a gem? > > Also, is there a way to pack the app for distribution for Linux, > Windows, and Mac? > -- > Thank you for your brain. > -MrZombie > >