Wondering what’s next for npm?Check out our public roadmap! »

generator-ruby-starter-kit

0.0.11 • Public • Published

generator-ruby-starter-kit

Travis build status Dependency Status

A Yeoman generator for Ruby app boilerplate based on Ruby Starter Kit (Bundler, Guard, ActiveSupport Logger, Rubocop, RSpec, WebMock, Travis, CodeClimate)

Installation

Install Ruby 2.3.0 from https://www.ruby-lang.org/en/downloads/ or via RVM (https://rvm.io/).

Install yo and this generator globally.

npm install -g yo generator-ruby-starter-kit

Using Yeoman

Navigate to the directory you'd like to use for your project, then run yo ruby-starter-kit.

Basic Guide

Run the app entry point script:

repo=octokit.py bin/app.rb

Run the guard dev env tool:

guard

It will run rubocop on start, will run rubocop inspections on changed files and will re-run all RSpecs and rubocop inspections if you hit Enter in guard window.