From: Jamis Buck Date: 2005-07-28T09:00:14+09:00 Subject: Re: Rubygems dependency bug? On Jul 27, 2005, at 5:35 PM, Jim Weirich wrote: > On Wednesday 27 July 2005 03:17 pm, Jamis Buck wrote: > >> I'm building a gem that has a dependency on net-ssh. So, in the >> gemspec, I do: >> >> s.add_dependency 'net-ssh', '>= 1.0.2' >> >> The gem builds fine. However, when I install it, it does not try to >> install the dependencies, and installs just fine even if the >> dependencies are not met. >> >> I have verified that I do not have the net-ssh gem installed. >> >> I have also done 'gem dependency' on the new package I just >> installed, and it verifies that net-ssh is a dependency: >> >> Requires >> net-ssh (>= 1.0.2) >> >> I am using gems 0.8.10. >> >> Am I doing something wrong? Or is this a bug? >> > > Are you doing a local install? Dependencies are not checked for local > installs. (To be addressed in version 0.9.xx). Bingo! Okay, that's the issue, then. Thanks for clearing it up, Jim. - Jamis