Last active
September 23, 2016 09:48
-
-
Save Circuit8/a567db16c08ce5a63d13c6e3a8714740 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fd = IO.sysopen "badger.txt" | |
stream = IO.new(fd,"w") | |
# Errno::EINVAL: Invalid argument | |
# Why is this happening? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f = File.new("badger.txt", "w") | |
#<File:badger.txt> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment