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). -- -- 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)