Skip to content

Instantly share code, notes, and snippets.

View Lubdhak's full-sized avatar
💭
Unemployed_coder

Lubi Lubdhak

💭
Unemployed_coder
View GitHub Profile
@omegahm
omegahm / graph.rb
Last active June 8, 2020 12:41
Generate nice Dependency Hierarchy Graph of Gems
#!/usr/bin/env ruby
require 'json'
gemfile = ARGV[0] || 'Gemfile.lock'
gems = {}
last_gem = ''
name = ''
File.readlines(gemfile).each do |line|