Skip to content

Instantly share code, notes, and snippets.

@wmoxam
Last active August 30, 2016 13:03
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 wmoxam/3bc38dc2f47743a090110d0ffb4d2296 to your computer and use it in GitHub Desktop.
Save wmoxam/3bc38dc2f47743a090110d0ffb4d2296 to your computer and use it in GitHub Desktop.
[wmoxam:~/projects/crystal] $ ./crystal eval 'puts "hi"'
Error while requiring "prelude": can't find file 'prelude'
[wmoxam:~/projects/crystal] $ CRYSTAL_PATH=/home/wmoxam/projects/crystal/src ./crystal eval 'puts "hi"'
Error while requiring "prelude"
in ./src/prelude.cr:36: while requiring "file"
require "file"
^
in ./src/file.cr:7: undefined constant IO::FileDescriptor
class File < IO::FileDescriptor
^~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment