I have a script with the first line as follows:
$:.unshift(File.dirname(FILE) + ‘/…/lib’)
This must mean something nasty to Google, because I can’t seem to get
anything useful if I include it in a search string, even quoted. Ditto
stackoverflow and rubytips.
Having this line at the beginning of this script seems to treat the
require statements that follow it differently than a normal
require would, or at least I am not getting the same errors as I do
when I require the gems without this line.
What does it do?