J
John Joyce
I'm curious is there a flag or an easy way to extend gem when calling
it from the command line to do the following:
remove lines such as:
\n*** LOCAL GEMS ***\n\n
and
\n*** REMOTE GEMS ***\n\n
and to control the output formatting of
gem list
or of
gem list -d
?
I'd like to get that output in a more manageable format, but without
permanently altering gem.
I just want the easiest way to alter those methods when calling gem
or calling gem via ruby at the command line...
I don't want to break any body's gem tool, but I do want to use gem's
output for list.
I suppose I'll need to include a file to use as an argument...
ruby -rubygems filename.rb
What I am doing is building a gui wrapper in Cocoa on OS X for common
gem commands.
I want to later add gem install and gem uninstall, but I'm not sure
what the best way would be to handle gems that have more involved
install/uninstall processes, such as when the user is prompted for [y/
n]? input on whether to include a dependency or something in that
install/uninstall process.
Is there a consistent thing I should look for in this or some API I
can dig into?
Same goes for gems that on install ask for such things as platform
choice (the mysql gem is an example of this).
it from the command line to do the following:
remove lines such as:
\n*** LOCAL GEMS ***\n\n
and
\n*** REMOTE GEMS ***\n\n
and to control the output formatting of
gem list
or of
gem list -d
?
I'd like to get that output in a more manageable format, but without
permanently altering gem.
I just want the easiest way to alter those methods when calling gem
or calling gem via ruby at the command line...
I don't want to break any body's gem tool, but I do want to use gem's
output for list.
I suppose I'll need to include a file to use as an argument...
ruby -rubygems filename.rb
What I am doing is building a gui wrapper in Cocoa on OS X for common
gem commands.
I want to later add gem install and gem uninstall, but I'm not sure
what the best way would be to handle gems that have more involved
install/uninstall processes, such as when the user is prompted for [y/
n]? input on whether to include a dependency or something in that
install/uninstall process.
Is there a consistent thing I should look for in this or some API I
can dig into?
Same goes for gems that on install ask for such things as platform
choice (the mysql gem is an example of this).