Skip to content

Create a ruby project with rspec. This script generates all helpers and your file structure.

Notifications You must be signed in to change notification settings

urbanvention/ruby-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Tree Surgeon

Creates a ruby tree structure to start a ruby project with rspec.

Installation

You'd like to symlink this file to your ~/bin directory git clone git://github.com:riethmayer/ruby-project-template.git ln -s ruby-project-template/treesurgeon.rb ~/bin/ts

Requirements

Bundler gem install bundler

Usage

All my scripts follow the same schema. To run my script with the given symlink: > ts -f foo creating foo creating foo/lib creating foo/spec foo |-- .rspec |-- Gemfile
|-- foo.rb |-- lib -- spec |-- foo_spec.rb -- spec_helper.rb

Now go into the project and install all missing gems: bundle install

Why does my project start that slow?

Because of the dependency resolution of Bundler your startup takes some time.

License

Fork, use and hack it as you like.

About

Create a ruby project with rspec. This script generates all helpers and your file structure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published