diff --git a/lib/tasks/shakapacker/info.rake b/lib/tasks/shakapacker/info.rake index c271ad56..552e5ca5 100644 --- a/lib/tasks/shakapacker/info.rake +++ b/lib/tasks/shakapacker/info.rake @@ -1,5 +1,6 @@ require "shakapacker/version" require "shakapacker/utils/misc" +require "shakapacker/utils/manager" namespace :shakapacker do desc "Provide information on Shakapacker's environment" @@ -10,6 +11,8 @@ namespace :shakapacker do $stdout.puts "Shakapacker: #{Shakapacker::VERSION}" $stdout.puts "Node: #{`node --version`}" + Shakapacker::Utils::Manager.warn_unless_package_manager_is_obvious! + require "package_json" pj_manager = PackageJson.read.manager