|
List Info
Thread: gem update --except ferret
|
|
| gem update --except ferret |

|
2006-11-27 20:47:52 |
|
Hi,
I am on a windows machine and when I try to do a gem update, it always fails after trying to update ferret, which has a windows compiled version a few versions behind the current native compiled on the fly version.
What I was wondering, if there could be a option to exclude a gem from trying to update,
i.e.; gem update --except ferret
or, if there can be a command line option to list gems needing to be updated, which we can then do individually
gem update --list_outdated --> [out1, out2,..]
gem install out1 gem install out2 ...
thanks
dom
|
| gem update --except ferret |

|
2006-11-29 12:32:25 |
|
On 11/27/06, Dominic Sisneros < dsisnero gmail.com">dsisnero gmail.com> wrote:
Hi,
I am on a windows machine and when I try to do a gem update, it always fails after trying to update ferret, which has a windows compiled version a few versions behind the current native compiled on the fly version.
What I was wondering, if there could be a option to exclude a gem from trying to update,
i.e.; gem update --except ferret
There is no current option for that, however ...
or, if there can be a command line option to list gems needing to be updated, which we can then do individually
gem update --list_outdated --> [out1, out2,..]
This already works. For example:
gem update rake flexmock
will update both gems.
-- -- -- Jim Weirich jim weirichhouse.org">jim weirichhouse.org http://onestepback.org -----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
|
| gem update --except ferret |

|
2006-11-30 08:26:47 |
|
Jim,
Thanks for the reply.
I haven't really browsed the code but there must be a method that gets an array of the gems that need to be updated. Can we have an option or command to just list these gems that need updating.
gem outdated => [gem1,gem2,gem3,ferret]
gem update gem1 gem2 gem3
Thanks
dom
On 11/29/06, Jim Weirich < jim.weirich gmail.com">
jim.weirich gmail.com> wrote:On 11/27/06,
Dominic Sisneros < dsisnero gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dsisnero gmail.com> wrote:
Hi,
I am on a windows machine and when I try to do a gem update, it always fails after trying to update ferret, which has a windows compiled version a few versions behind the current native compiled on the fly version.
What I was wondering, if there could be a option to exclude a gem from trying to update,
i.e.; gem update --except ferret
There is no current option for that, however ...
or, if there can be a command line option to list gems needing to be updated, which we can then do individually
gem update --list_outdated --> [out1, out2,..]
This already works. For example:
gem update rake flexmock
will update both gems.
-- -- -- Jim Weirich jim weirichhouse.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jim weirichhouse.org
http://onestepback.org -----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
_______________________________________________ Rubygems-developers mailing list rubyforge.org">Rubygems-developers rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers
|
| gem update --except ferret |

|
2006-11-30 14:28:13 |
Dominic Sisneros said:
> Jim,
>
> Thanks for the reply.
>
> I haven't really browsed the code but there must be a
method that gets an
> array of the gems that need to be updated.
> Can we have an option or command to just list these
gems that need
> updating.
>
> gem outdated => [gem1,gem2,gem3,ferret]
>
> gem update gem1 gem2 gem3
Interesting. This reminds me of the --dry-run option in
Rake that lists
the things rake would do if it wasn't in dry run mode.
--
-- Jim Weirich jim weirichhouse.org http://onestepback.org
------------------------------------------------------------
-----
"Beware of bugs in the above code; I have only proved
it correct,
not tried it." -- Donald Knuth (in a memo to Peter van
Emde Boas)
_______________________________________________
Rubygems-developers mailing list
Rubygems-developers rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-develope
rs
|
|
[1-4]
|
|