generator-ruby-starter-kit

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

Usage no npm install needed!

<script type="module">
  import generatorRubyStarterKit from 'https://cdn.skypack.dev/generator-ruby-starter-kit';
</script>

README

generator-ruby-starter-kit

NPM info

Code Climate Travis build status Dependency Status semantic-release

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

Installation

npm install -g yo generator-ruby-starter-kit
  • Navigate to the directory you'd like to use for your project and run the generator:
cd my-app
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.