lib/massa/analyzer.rb in massa-0.0.2 vs lib/massa/analyzer.rb in massa-0.0.3

- old
+ new

@@ -26,10 +26,10 @@ Massa::CLI.colorize :green, "~(‾▿‾)~ All good!" end def gem_installed?(name, required:) - return true if Bundler.require.map(&:name).include?(name) + return true if `gem query -i #{name}`.chomp == 'true' Massa::CLI.colorize :yellow, "༼ つ ◕_◕ ༽つ '#{name}' is not installed" required ? exit(1) : false end