Last active
October 11, 2015 10:57
-
-
Save tachesimazzoca/3847867 to your computer and use it in GitHub Desktop.
Add a directory to the library search path #ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$:.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