$: is just a shortcut for $LOAD_PATH. __FILE__ is the relative path to the script. This adds the current script directory to the load path.
$: is just a shortcut for $LOAD_PATH. __FILE__ is the relative path to the script. This adds the current script directory to the load path.