Skip to content

Commit 96c0e7c

Browse files
Merge pull request #208 from jonathanhefner/installer-no-subshell
Use non-subshell `system` variant in installer
2 parents 6298cd4 + 9442bed commit 96c0e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/importmap_tasks.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace :importmap do
22
desc "Setup Importmap for the app"
33
task :install do
4-
system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../install/install.rb", __dir__)}"
4+
system RbConfig.ruby, "./bin/rails", "app:template", "LOCATION=#{File.expand_path("../install/install.rb", __dir__)}"
55
end
66
end

0 commit comments

Comments
 (0)