- Ensure latest version of ruby is installed
- Run
bundle gem my_lib
- Update [project].gemspec file to include develpment dependencies and update any todos
- Run
bundle install
- Run
guard init rspec
- Check your project runs ok with guard running - this can be done by saving one of your tests
Last active
July 19, 2016 04:23
-
-
Save ryannealmes/9d96792c0deab8239772ffaa977fa464 to your computer and use it in GitHub Desktop.
Basic setup for ruby project with rspec + guard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add these development dependencies | |
spec.add_development_dependency "bundler", "~> 1.12" # this should be included by default | |
spec.add_development_dependency "rake", "~> 10.0" # this should be included by default | |
spec.add_development_dependency "rspec", "~> 3.0" # this should be included by default | |
spec.add_development_dependency 'terminal-notifier-guard', '~> 1.6.1' | |
spec.add_development_dependency 'guard-rspec' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment