namespace :importmap do desc "Setup Importmap for the app" task :install do system RbConfig.ruby, "./bin/rails", "app:template", "LOCATION=#{File.expand_path("../install/install.rb", __dir__)}" end end