Flowdock
method

activate_bin_path

Importance_1
v2_6_3 - Show latest stable - 0 notes - Class: Gem
activate_bin_path(name, exec_name, requirement) public

Find the full path to the executable for gem name. If the exec_name is not given, an exception will be raised, otherwise the specified executable’s path is returned. requirements allows you to specify specific gem versions.

A side effect of this method is that it will activate the gem that contains the executable.

This method should only be used in bin stub files.

Show source
Register or log in to add new notes.