Flowdock
method

check_executable_overwrite

Importance_1
v2_2_9 - Show latest stable - 0 notes - Class: Installer
check_executable_overwrite(filename) public

Checks if filename exists in +@bin_dir+.

If +@force+ is set filename is overwritten.

If filename exists and is a RubyGems wrapper for different gem the user is consulted.

If filename exists and +@bin_dir+ is Gem.default_bindir (/usr/local) the user is consulted.

Otherwise filename is overwritten.

Show source
Register or log in to add new notes.