aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/install.rake7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/tasks/install.rake b/lib/tasks/install.rake
index cfc06fbb5f..1f4c071494 100644
--- a/lib/tasks/install.rake
+++ b/lib/tasks/install.rake
@@ -5,11 +5,10 @@ namespace :action_mailbox do
Rake::Task["install:migrations"].clear_comments
desc "Copy over the migration"
- task install: %w[ environment run_installer copy_migrations ]
+ task install: %w[ environment run_generator copy_migrations ]
- task :run_installer do
- installer_template = File.expand_path("../templates/installer.rb", __dir__)
- system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{installer_template}"
+ task :run_generator do
+ system "#{RbConfig.ruby} ./bin/rails generate mailbox application"
end
task :copy_migrations do