While using the guard-cucumber plugin I found it wasn't working with terminal-notifier-guard
What's the best way to figure out what's going wrong and start making lasting fixes?
Some important criteria are:
guard-cucumber
gem installed on my system.This is my process:
guard-cucumber-cats
in the gemspec.Add a breakpoint near my work with pry
:
require 'pry'
binding.pry
rake install
to install guard-cucumber-cats
on my machine.
In my project, add guard-cucumber-cats
as a dep and comment out guard-cucumber
in gemspec. For example:
# spec.add_development_dependency "guard-cucumber", "~> 2.1.2"
spec.add_development_dependency "guard-cucumber-cats"
Thinking about process in terms of criteria:
guard-cucumber-cats
every time I wanted to test a change was awkward.git
right for the beginning was a huge plusgithub
guard-cucumber
on my machine.Ideally I'd like to be able to do something like:
cp -r
my project into some sandboxed envguard-cucumber
into the same sandboxed envguard-cucumber
I read in another answer to just start edit the system gem but didn't like that solution because I lose the benefits of git
and github
.
Is there a better process that's working for you? Or areas my process can be improved?
Also, as a side note: this is how you can nest code blocks in a list
Use :path
in the project's gemfile.
You are working on gem my_gem
and project my_project
at the same time. To make this painless use this in the gemfile of your project
# in /path/to/my_project/Gemfile
...
gem 'my_gem', :path => '/path/to/my_gem'
...
And then you can iterate without having to build the gem all time.
There's isn't even a need to rename the gem.