lib/shelly/cli/main.rb in shelly-0.3.6 vs lib/shelly/cli/main.rb in shelly-0.3.7
- old
+ new
@@ -440,9 +440,15 @@
print_check(structure.rakefile?, "Rakefile is present",
"Rakefile is missing",
:show_fulfilled => verbose)
+ print_check(!structure.gem?("shelly"),
+ "Gem 'shelly' is not a part of Gemfile",
+ "Gem 'shelly' should not be a part of Gemfile.\n The versions of the thor gem used by shelly and Rails may be incompatible.",
+ :show_fulfilled => verbose || structure.warnings?,
+ :failure_level => :warning)
+
print_check(structure.gem?("shelly-dependencies"),
"Gem 'shelly-dependencies' is present",
"Gem 'shelly-dependencies' is missing, we recommend to install it\n See more at https://shellycloud.com/documentation/requirements#shelly-dependencies",
:show_fulfilled => verbose || structure.warnings?, :failure_level => :warning)