Skip to content

Instantly share code, notes, and snippets.

@eam
Created August 15, 2016 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eam/751562ba4e4053ee0a9f3c46632ada0e to your computer and use it in GitHub Desktop.
Save eam/751562ba4e4053ee0a9f3c46632ada0e to your computer and use it in GitHub Desktop.
[8] pry(main)> dir.class
=> Pathname
[9] pry(main)> dir.chown "root", "root"
TypeError: no implicit conversion of String into Integer
from (pry):9:in `chown'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment