Skip to content

cpjobling/Ruby-Project-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Project template with RSpec, Cucumber and Guard

This is a template that you can use to bootstrap a new ruby project. It contains hello-world features and specs adapted from the [http://pragprog.com/book/achbd/the-rspec-book](RSpec Book).

Getting started

  1. If using RVM, edit the .rvmrc file to suit your project requirements.
  2. Install bundler: gem install bundler
  3. Install guard gem install guard
  4. Install dependencies: bundler install
  5. Launch guard: guard start

Guard will run rspec and cucumber against some "hello world" specs and features that will verify that these are tools are correctly installed. After this runs, you can remove the hello-world spec and features.

Guard will also continuously watch the Gemfile and will re-run bundler if it changes.

You should start developing your classes and modules in the lib directory and any scripts or other excutable artefacts in the bin directory.

Good luck!

About

A project template for ruby.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages