method

use_paths

ruby latest stable - Class: Gem
use_paths(home, *paths)
public

Use the home and paths values for Gem.dir and Gem.path. Used mainly by the unit tests to provide environment isolation.