Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to show remote version #12

Open
guilhem opened this issue Aug 30, 2013 · 3 comments
Open

Be able to show remote version #12

guilhem opened this issue Aug 30, 2013 · 3 comments

Comments

@guilhem
Copy link
Contributor

guilhem commented Aug 30, 2013

I'm not a gem guru, so maybe it's possible but I don't know how.

I would like to find the remote version of a gem that I try to install with specific_install.
via cli or ruby API.

I would like to use it with Chef.
For now, my implementation always install gem from repo even if same version is here... that's a bad things.

@rdp
Copy link
Owner

rdp commented Sep 3, 2013

So this would basically build the gem, spit outs its version to stdout,
then not install it? Is that right? (If no response then will just close
this...)

On Fri, Aug 30, 2013 at 10:59 AM, Zander Hill [email protected]:

Do you mean a command like gem specific_install gemname --info

And it returns just a version number or a summary of the gem info?


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-23575143
.

@guilhem
Copy link
Contributor Author

guilhem commented Sep 4, 2013

basically, it will only git clone and report version that is in .gemspec

@zph
Copy link
Collaborator

zph commented Feb 28, 2014

I don't have the time/need to develop this feature but a PR would be very welcome & we can walk you through the process @guilhem.

You could probably copy the behavior from another commandline arg and then tie into existing methods to find the version number. If not, I can try to help point you in the right direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants