Caleb Crane

Results 24 comments of Caleb Crane

Can you post some example code please? Sent from my iPhone On 2012/04/24, at 19:18, Mark [email protected] wrote: > Not sure whats happening yet, but my block inside EM::Ssh::Shell.new never...

Could you please provide a little more context? What kind of channel were you trying to open? What code were you calling that resulted in the stacktrace? What type of...

Can you tell me which versions of em-ssh and net-ssh you're using? Do you have a stack trace from thrown exception, or did you discover the issue in some other...

Off hand, I'd say use a Rack middleware. ``` ruby class PryRemoteMiddleWare def initialize(app, *pry_args) @app = app @pry_args = pry_args end def call(env) @app.call(env) rescue => e binding.remote_pry_em(*pry_args) end...

see e4ab9b2ceb4fd4430ea2fe307b2036521d750a10

Yup, there are ways to setup your `asyncData` handler so that certain actions, e.g., adding Lunr documents, are only done during the generate process. This allows you to execute API...

Thanks for posting extra details. To use pry-remote-em as a service in your app you'll need to use a webserver that runs inside the eventmachine loop: thin rainbows, etc.,. If...

Also when I've run the service in a sinatra and thin app, I've been doing it with async_sinatra. https://github.com/raggi/async_sinatra

Duncan, Thanks for the code. I'll give it a try soon. Caleb On Feb 20, 2012, at 11:07 PM, Duncan Beevers wrote: > I've been hacking on Pry to allow...

Which version of EM are you running? See if you can get a full stack trace as well. Sent from my iPhone > On 2015/05/11, at 15:12, David Aronchick [email protected]...