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 Classes: Wrapper
Constant Summary collapse
- VERSION =
"1.7.1"
Class Method Summary collapse
Class Method Details
.uninstall ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/executable-hooks/uninstaller.rb', line 6 def self.uninstall Gem.configuration[:custom_shebang] = "$env #{Gem.default_exec_format % "ruby"}" = RegenerateBinstubsCommand. RegenerateBinstubsCommand.new.execute_no_wrapper("ruby") ExecutableHooks::Wrapper.new().uninstall .merge!(:executables => true, :all => true, :ignore => true) Gem::Uninstaller.new("executable-hooks", ).uninstall end |