I would like to intercept my gem installation process and receive some user input. How do I do that? I'm using ruby 1.9.3 and bundler for my gem development and hosting it on rubygems.org.
Alternatively, is there a way to pass arguments?
I would like to intercept my gem installation process and receive some user input. How do I do that? I'm using ruby 1.9.3 and bundler for my gem development and hosting it on rubygems.org.
Alternatively, is there a way to pass arguments?
Normally to pass "arguments" you would require the use of environment variables. Things like ruby-oci8 need these to compile for Oracle database use.
Seems like the only way of achieving this is by adding a post installation message and then having in your bin a cmd along the line of config-mygem to achieve the same thing. Not exactly what I was looking for, but better than nothing.