pry/pry — Issue #345: Spork and Pry using Ree or 1.8.7
Author: apneadiving
Created: 2011-11-17 12:19:46+00:00
State: open

As per your request [here](http://stackoverflow.com/questions/8148736/rails-spork-and-debugger/).

## Working Config

Necessary steps:
* I cloned [this app](https://github.com/bsodmike/CoreApp)
* the rvmrc of this repo points to ruby 1.9.2
* I created a file `/spec/model/test_spec.rb` containing:

require 'spec_helper'
describe "test" do
it "debugger test" do
foo = "bar"
binding.pry
foo = "baz"
end
end

Then in console `guard` triggers the spork server and waits for a file to be changed.

Saving the `test_spec.rb` triggers the tests and it works fine = debugger is properly called and working.

## Failing Scheme

* I stopped the process
* i changed `rvmrc` to use ree or 1.8.7
* rebundle
* relaunch guard
* resave file to trigger rspec test

Then process seems to loop and spits endlessly on console screen:

lib/pry/pry_instance.rb:414:in 'readline'
TypeError: wrong argument type DRb::DRbObject (expected File)