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?
From: MrZombie <mrzombie@thezombie.net>
Organization: albasani.net
Reply-To: <ruby-talk@ruby-lang.org>
Newsgroups: comp.lang.ruby
Date: Tue, 27 Jul 2010 04:30:25 +0900
To: ruby-talk ML <ruby-talk@ruby-lang.org>
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
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?
You can , if you're feeling lazy, install a gem called "jem" which
creates a typical structure the same as the one already mentioned.