add lib to loadpath before loading rails components
Merge pull request #316 from lastobelus/add_lib_to_loadpath

add lib to loadpath before loading rails components