Run scripts before and after installing ruby using ruby-build