Sha256: 9e5b03feea17372460b4518a5d1f01d17fae4ee6831ea37b85e7ef3bc4f2a61b

Contents?: true

Size: 697 Bytes

Versions: 4

Compression:

Stored size: 697 Bytes

Contents

namespace :vue do
  desc "Provide information on Webpacker's environment"
  task :info 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 "#{`yarn list @rails/webpacker vue vue-loader vuex version -s`}"
    $stdout.puts "\n"

    $stdout.puts "Is bin/webpack present?: #{File.exist? 'bin/webpack'}"
    $stdout.puts "Is bin/webpack-dev-server present?: #{File.exist? 'bin/webpack-dev-server'}"
    $stdout.puts "Is bin/yarn present?: #{File.exist? 'bin/yarn'}"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vuejs-1.1.0.beta7 lib/tasks/info.rake
vuejs-1.1.0.beta6 lib/tasks/info.rake
vuejs-1.1.0.beta5 lib/tasks/info.rake
vuejs-1.1.0.beta4 lib/tasks/info.rake