Sha256: a76deafaa430ee66a9787696d497dcbdc656c420bc34db14a4419a8585dff0b3
Contents?: true
Size: 757 Bytes
Versions: 22
Compression:
Stored size: 757 Bytes
Contents
require "webpacker/version" namespace :webpacker do desc "Provide information on Webpacker's environment" task :info do Dir.chdir(Rails.root) do $stdout.puts "Ruby: #{`ruby --version`}" $stdout.puts "Rails: #{Rails.version}" $stdout.puts "Webpacker: #{Webpacker::VERSION}" $stdout.puts "Node: #{`node --version`}" $stdout.puts "Yarn: #{`yarn --version`}" $stdout.puts "\n" $stdout.puts "shakapacker: \n#{`npm list shakapacker version`}" $stdout.puts "Is bin/webpacker present?: #{File.exist? 'bin/webpacker'}" $stdout.puts "Is bin/webpacker-dev-server present?: #{File.exist? 'bin/webpacker-dev-server'}" $stdout.puts "Is bin/yarn present?: #{File.exist? 'bin/yarn'}" end end end
Version data entries
22 entries across 22 versions & 1 rubygems