lib/tasks/webpacker/binstubs.rake in webpacker-6.0.0.beta.7 vs lib/tasks/webpacker/binstubs.rake in webpacker-6.0.0.pre.1

- old
+ new

@@ -5,11 +5,11 @@ desc "Installs Webpacker binstubs in this application" task binstubs: [:check_node, :check_yarn] do |task| prefix = task.name.split(/#|webpacker:binstubs/).first if Rails::VERSION::MAJOR >= 5 - exec "#{RbConfig.ruby} #{bin_path}/rails #{prefix}app:template LOCATION='#{binstubs_template_path}'" + exec "#{RbConfig.ruby} #{bin_path}/rails #{prefix}app:template LOCATION=#{binstubs_template_path}" else - exec "#{RbConfig.ruby} #{bin_path}/rake #{prefix}rails:template LOCATION='#{binstubs_template_path}'" + exec "#{RbConfig.ruby} #{bin_path}/rake #{prefix}rails:template LOCATION=#{binstubs_template_path}" end end end