Last Updated: February 25, 2016
·
472
· rthbound

Use require_relative to require files that exist within your project

When you use require to load a file, ruby must search your $LOADPATH. If the file you need to load exists within your project, you can (should) use `requirerelative`.

See: http://www.ruby-doc.org/core-1.9.3/Kernel.html#method-i-require_relative