> The invocations will look like:
> package_manager.install "rails", :with => :gem, :version => "2.3.4"
>
Thanks I think this feature is important because a lot of times
updates to gems break existing apps so I would like to control which
versions are on which machines.
If you are open to suggestions I would suggest that you create a
gem_manager instead of overloading package_manager.
Maybe even something like this....
install_gems [ 'sequel', {:rails => '2.3.4'}, { :rcov => :latest}]
if you don't specify a version then it would install the latest but
not upgrade it to the latest. If you say "latest" it would upgrade it
if there is a later version. if it's tagged then it only installs that
version.
BTW I am following your suggestion from a couple of days ago and
things are going pretty good. Now comes the hard part of figuring out
what I did and how can write a recipe to duplicate it.