Skip to content

Instantly share code, notes, and snippets.

@stevendanna
Created August 5, 2014 15:14
Show Gist options
  • Save stevendanna/1c2dffb05f8febc88e76 to your computer and use it in GitHub Desktop.
Save stevendanna/1c2dffb05f8febc88e76 to your computer and use it in GitHub Desktop.
sdanna@thrace ~/tmp/foo > irb
irb(main):001:0> Dir.pwd
=> "/Users/sdanna/tmp/foo"
irb(main):002:0>
[1]+ Stopped irb
146 sdanna@thrace ~/tmp/foo > cd
sdanna@thrace ~ > rm -rf ~/tmp/foo
sdanna@thrace ~ > fg
irb (wd: ~/tmp/foo)
Dir.pwd
Errno::ENOENT: No such file or directory - getcwd
from (irb):2:in `pwd'
from (irb):2
from /opt/chefdk/embedded/bin/irb:11:in `<main>'
irb(main):003:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment