Module: ExecutableHooks

Defined in:
lib/executable-hooks/version.rb,
lib/executable-hooks/wrapper.rb,
lib/executable-hooks/uninstaller.rb,
lib/executable-hooks/specification.rb

Defined Under Namespace

Modules: Specification, Wrapper

Constant Summary collapse

VERSION =
"1.3.2"

Class Method Summary collapse

Class Method Details

.uninstallObject



5
6
7
8
9
# File 'lib/executable-hooks/uninstaller.rb', line 5

def self.uninstall
  Gem.configuration[:custom_shebang] = "$env #{Gem.default_exec_format % "ruby"}"
  RegenerateBinstubsCommand.new.execute_no_wrapper
  Wrapper.uninstall
end