Closed b-ggs closed 8 years ago
@b-ggs for the integration specs, the bundle ~~~
invocation runs in a separate process so you can't access the binding.pry/debugging session in that other process from the primary process (the one running the specs). What I typically do is put a large sleep right before the bundle
invocation in the appropriate spec, and then treat the generated tmp
directory and its contents as a reproducible scenario you can copy, run bundle
commands on, etc.
@RochesterinNYC Ah, I see. Didn't occur to me to use the generated tmp
dir, ha. Just tried it out, works perfectly. Thanks!
Date:
(6/21/2016)
What I Did and Worked On (Yesterday):
group
andsource
forbundle add
. Dug through the codebase and found thatDependency
, the classInjector
uses, actually takesgroup
andsource
as options, so that makes it easier to pass the needed options to the Gemfile.What I Will Do (Today):
group
andsource
forbundle add
laduradura
gem on different platformsAny Blockers:
pry-byebug
detailed in the section below. I've been trying to recreate theladuradura
manually to no avail.Interestings/Helps:
pry
session when runningrspec
tests? I've tried puttingrequire "pry-byebug"
insidespec/commands/outdated_spec.rb
,spec/spec_helper.rb
, andlib/bundler/cli/outdated.rb
. I can open a session if I putbinding.pry
inoutdated_spec.rb
, but I haven't successfully opened up a session if I put it insideoutdated.rb
. What I would usually do is just recreate the test case with a real Gemfile and stuff, but I can't seem to recreate the test case manually this time around, so I'm relying heavily on the test case given in the issue report.