lib/power_stencil/project/versioning.rb in power_stencil-0.4.18 vs lib/power_stencil/project/versioning.rb in power_stencil-0.4.19

- old
+ new

@@ -3,10 +3,14 @@ module Versioning def check_project_version return if project_version_valid? - raise PowerStencil::Error, msg + msg = <<~EOM + This PowerStencil project requires a version of PowerStencil >= #{config[:min_power_stencil_version]} (You are using version #{PowerStencil::VERSION}) ! + You should consider upgrading by doing 'gem install power_stencil'... + EOM + raise PowerStencil::Error, msg.chomp end private def project_version_valid?