Skip to content

Instantly share code, notes, and snippets.

@tachesimazzoca
Last active October 11, 2015 10:57
Show Gist options
  • Save tachesimazzoca/3847867 to your computer and use it in GitHub Desktop.
Save tachesimazzoca/3847867 to your computer and use it in GitHub Desktop.
Add a directory to the library search path #ruby
$:.unshift File.dirname(__FILE__)
$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib]) # "../lib"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment