Skip to content

Instantly share code, notes, and snippets.

@marcoshack
Created August 9, 2016 15:53
Show Gist options
  • Save marcoshack/8f5a5122e199fa83ddb3297e363e77e8 to your computer and use it in GitHub Desktop.
Save marcoshack/8f5a5122e199fa83ddb3297e363e77e8 to your computer and use it in GitHub Desktop.
Adding a directory to Ruby's $LOAD_PATH
$:.unshift File.expand_path(File.join(File.dirname(File.join(__FILE__)), '../lib'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment