Adding a directory to $LOAD_PATH (Ruby)

The Ruby load path is very commonly seen written as $: , but just because it is short, does not make it better. If you prefer clarity to cleverness, or if brevity for its own sake makes you itchy, you needn’t do it just because everyone else is.
Say hello to …

$LOAD_PATH

… and say goodbye to …

# I don't quite understand what this is doing...
$:

Leave a Comment