1.02
Low commit activity in last 3 years
A long-lived project that still receives updates
Hook into rubygems executables allowing extra actions to be taken before executable is run.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.4
 Project Readme

Rubygems executable hooks

Add next rubygems plugin support for executables.

Usage

Install the gem:

gem install executable-hooks

In gem lib dir create rubygems_executable_plugin.rb:

Gem.execute do |original_file|
  warn("Executing: #{original_file}")
end

Generate and install the new gem with executable hook.

Now try it:

gem install haml
haml --version

Returns:

Executing: /home/mpapis/.rvm/gems/ruby-1.8.7-p374-new1/bin/haml
Haml 4.0.3