On Mon, Jun 13, 2011 at 09:21:05PM -0700, Cynthia Kiser wrote:
> Quoting Marvin Humphrey <[email protected]>:
> > But then, how do I list the dependencies for a gem? It seems as if I ought
> > to
> > be able to do this:
> >
> > gem list_dependencies foo.gem
>
> Close. From gem help commands:
>
> dependency Show the dependencies of an installed gem
That seems like it should do the trick, don't it? But it's only for gems
you've already installed.
marvin@smokey:~/src $ gem dependency rake
Gem rake-0.8.7
marvin@smokey:~/src $ gem dependency bones-3.7.0.gem
No gems found matching bones-3.7.0.gem (>= 0)
marvin@smokey:~/src $
Cruel prank, no? They only tell you what the prerequisites are after you've
successfully finished the installation process.
Marvin Humphrey
--
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby