This is a skeleton repo for Ruby projects.
Code goes in lib
. Tests go in spec
.
- rspec and simplecov for testing and test coverage.
- rubocop with additional plugins and an opinionated configuration for code style checks.
- byebug and pry for debugging.
- guard and growl for auto-running tests and inspections.
- rake for scripting tasks.
Install the dependencies:
bundle
Replace lib/project.rb
and spec/project_spec.rb
with your code.
Run guard, configured in red-green-refactor mode:
bundle exec guard