bin/massa in massa-0.0.8 vs bin/massa in massa-0.0.9

- old
+ new

@@ -9,10 +9,14 @@ OptionParser.new do |opts| opts.banner = 'Usage: massa [options]' opts.on('-h', '--help', 'Display this help') do puts opts + puts + puts 'You can read the official documentation here:' + puts 'https://github.com/lucascaton/massa#massa' + puts exit end opts.on('-v', '--version', 'Display version') do require 'massa/version' @@ -24,6 +28,12 @@ options[:verbose] = v end end.parse! require 'massa' -Massa::Analyzier.run!(options) + +begin + Massa::Analyzier.run!(options) +rescue Gem::LoadError + Massa::CLI.colorize :red, "¯\\_(ツ)_/¯ 'massa' gem is not in your Gemfile." + exit 1 +end