On Wednesday, 10 July, 2013 at 8:38 AM, Torben Knerr wrote:
Guess I'm too stupid to install it...In my `Gemfile`:``````Then I run:```D:\Repos\_github\_cookbooks\gitlab>bundle installremote: Counting objects: 316, done.remote: Compressing objects: 100% (124/124), done.rRemote: Total 316 (delta 171), reused 311 (delta 166)Receiving objects: 100% (316/316), 69.82 KiB | 73 KiB/s, done.Resolving deltas: 100% (171/171), done.Fetching gem metadata from https://rubygems.org/.......Fetching gem metadata from https://rubygems.org/..Resolving dependencies...Could not find gem 'depgraph (>= 0) x86-mingw32' inhttps://github.com/leftathome/depgraph.git (at master).Source does not contain any versions of 'depgraph (>= 0) x86-mingw32'```Is it supposed to be installed as a gem?Not a Ruby expert, but I don't see a .gemspec there. Might this be the problem?
On Wed, Jul 10, 2013 at 2:00 AM, steve . < " target="_blank"> > wrote:Not sure if anyone's already doing something like this, but I made some REALLY MINOR modifications to the most ancient and venerable Ruby depgraph tool and got it parsing cookbook metadata instead of C# code and installed gems.Default behavior is to parse, fire up graphviz and show you a dependency graph. That's fine but I wanted it as a JSON object.I added the -json switch to allow you to generate an object that looks like this:{ "cookbook" : [ "dependency1", "dependency2"],...}Hope someone out there finds this useful.
Archive powered by MHonArc 2.6.16.