generator-ruby-starter-kit
v0.2.39
Published
Yeoman generator for Ruby app boilerplate based on Ruby Starter Kit (Bundler, Guard, ActiveSupport Logger, Rubocop, RSpec, WebMock, Travis, CodeClimate).
Downloads
27
Maintainers
Readme
generator-ruby-starter-kit
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.1 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
- 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.