method

require_paths

Importance_1
v2_1_10 - Show latest stable - 0 notes - Class: BasicSpecification
require_paths() public

Paths in the gem to add to $LOAD_PATH when this gem is activated.

See also #require_paths=

If you have an extension you do not need to add “ext” to the require path, the extension build process will copy the extension files into “lib” for you.

The default value is “lib”

Usage:

# If all library files are in the root directory...
spec.require_path = '.'
Show source
Register or log in to add new notes.