method

try_activate

v1_9_3_125 - Show latest stable - Class: Gem
try_activate(path)
public

Try to activate a gem containing path. Returns true if activation succeeded or wasn’t needed because it was already activated. Returns false if it can’t find the path in a gem.