Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

gem list and gem install should take --yaml flag #107

zenspider opened this Issue Jun 14, 2011 · 5 comments


None yet
7 participants

zenspider commented Jun 14, 2011

Idea: gem list --yaml | ssh server gem install --yaml

From: http://rubyforge.org/tracker/index.php?func=detail&aid=29230&group_id=126&atid=578

@ghost ghost assigned zenspider Jun 14, 2011

klauern commented Jul 9, 2011

I was just going to report something almost the same as this. On Windows, I can't use RVM, so migrating gems from one Ruby version to another is cumbersome. This would be greatly appreciated, at least by me.

nobu pushed a commit to nobu/rubygems that referenced this issue Jan 12, 2014

Merge pull request #107 from BanzaiMan/equal_at_end_of_symbol
Test whether or not "{:a==>1}" is parsed as a valid expression.

djberg96 commented Aug 26, 2015

@zenspider RF link is defunct. How would this work with other command line switches?

IMO a general formatting architecture would be better, so that all commands could take a --format option with text, yaml, xml and json as options.


zenspider commented Aug 26, 2015

I don't understand your question. It has nothing to do with other command-line switches. It just affects the output (and input) as described above.


copiousfreetime commented Jan 18, 2016

Checking if there is still interest. As I understand the feature it is adding the ability some commands have a structured stdin/stdout. The first use case being list and install so you could easily install a known set of gems into an new location. I could also see a structured input/output need for fetch and uninstall


copiousfreetime commented Jan 18, 2016

This may be a consolidation of the install -g option. Where list may generate a gem dependency file.

@lynncyrin lynncyrin removed the accepted label Jun 9, 2016

@lynncyrin lynncyrin removed this from the Unfulfilled Promises and Broken Dreams milestone Jun 9, 2016

@bronzdoc bronzdoc closed this Nov 12, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment