Use require for installed gems Use require_relative for local files require uses your $LOAD_PATH to find the files. require_relative uses the current location of the file using the statement. require_relative '../../../filename'