[Rubygems-developers] Help with Gem Dependencies
bret at pettichord.com
Tue Jun 3 23:34:06 EDT 2008
I confirmed that your suggestion works as you describe. Thanks.
However, what i want to do is make "gem install watir" work as a
one-step install. With your suggestion it is now a 2-step install.
("gem update --system; gem install watir")
I was hoping that i could just add a dependency on rubygems-update to
the watir gem, but this in itself is not sufficient to fix the
dependency problem -- i need the full gem update --system.
Do you or others know if there is a way to add a dependency on this
("gem update --system') as part of the gem install for Watir (by
changing its gemspec)?
Another option would be for us to move to Ruby 1.8.7. which surely has
other benefits as well.
On Tue, Jun 3, 2008 at 10:17 PM, Bret Pettichord <bret at pettichord.com> wrote:
> That's useful information
> Because of some bugs in Ruby 1.8.6, we are still using Ruby 1.8.5.
> Haven't looked at 1.8.7 yet. I'll look into your suggestion further...
> On Tue, Jun 3, 2008 at 10:02 PM, Gordon Thiesfeld <gthiesfeld at gmail.com> wrote:
>> On Tue, Jun 3, 2008 at 8:30 PM, Bret Pettichord <bret at pettichord.com> wrote:
>>> Appreciate any help or insight you can provide.
>> I'm more of a lurker than an authority on this list, but it appears
>> you have an older version of rubygems installed. RubyGems prior to
>> 1.0 or thereabouts would prompt the user for which version of the gem
>> to install. Newer versions will do the right thing, and install the
>> correct gem.
>> To check this which version you have installed, you would run
>> C:\ruby>gem -v
>> If it's older than 1.1.1, I would recommend updating.
>> C:\ruby>gem update --system
>> Updating RubyGems
>> Hope that helps,
>> Rubygems-developers mailing list
>> Rubygems-developers at rubyforge.org
> Bret Pettichord
> CTO, WatirCraft LLC
> Lead Developer, Watir, http://wtr.rubyforge.org
> Blog (Essays), http://www.io.com/~wazmo/blog
> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist
CTO, WatirCraft LLC
Lead Developer, Watir, http://wtr.rubyforge.org
Blog (Essays), http://www.io.com/~wazmo/blog
MiniBlog (Links), http://feeds.feedburner.com/bretshotlist
More information about the Rubygems-developers