Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Prying Into Your App's Private Life

Prying Into Your App's Private Life

Pry is a relatively young tool that makes DRb a whole heck of a lot more useful. Paired with pry-remote for easy setup with Pow or Passenger, it provides a useful window into the execution of your app/program/nuclear launch script, with its mad live-code-modification-fu.

Corey Woodcox

March 15, 2012
Tweet

More Decks by Corey Woodcox

Other Decks in Programming

Transcript

  1. I’m Corey Woodcox. I work for saxton|horne Advertising. I love

    Ruby, Github and Apple. And most importantly... Things You Should Know
  2. I’m Corey Woodcox. I work for saxton|horne Advertising. I love

    Ruby, Github and Apple. And most importantly... Things You Should Know
  3. Now, wait a second... I’ve never done this before, I

    hope you know. Pry doesn’t look like it could cover a 30 minute session... Despite all this, which they pointed out to me, they still selected my proposal...?
  4. WTF is REPL? irb coff hp -a ielm me JS

    sole Any console, really...
  5. Well... So what? A REPL? We have got a REPL.

    There can be no more REPL. FALSE. Vanilla IRB kinda sucks, guys.
  6. But! But!!!1 No really, it does. Try dropping irbtools-more into

    ~/.irbrc, work with it for a day, then turn it off.
  7. Again I ask, why? Pry has lots of awesome features

    that make it cooler than IRB. O RLY??
  8. Let’s Review I have absolutely no idea what I’m doing.

    REPL = Read, Evaluate, Print loop IRB sucks Pry rocks my socks Pry-Remote makes remote debugging more awesomer
  9. Thanks! Slides at coreywoodcox.com eventually. Content shamelessly stolen from... Jonathan

    Jackson: http://jonathan-jackson.net/give-it-a-pry Pry documentation: https://github.com/pry/pry/wiki/ Pry Screencast by Joshua Cheek: http://vimeo.com/26391171