diff --git a/lib/alchemy/upgrader/five_point_zero.rb b/lib/alchemy/upgrader/five_point_zero.rb index 1df16b74e3..ae57b3f9b2 100644 --- a/lib/alchemy/upgrader/five_point_zero.rb +++ b/lib/alchemy/upgrader/five_point_zero.rb @@ -7,9 +7,9 @@ class Upgrader::FivePointZero < Upgrader class << self def install_gutentag_migrations desc "Install Gutentag migrations" - `bundle exec rake gutentag:install:migrations` + Rake::Task["gutentag:install:migrations"].invoke Alchemy::Upgrader::Tasks::HardenGutentagMigrations.new.patch_migrations - `bundle exec rake db:migrate` + Rake::Task["db:migrate"].invoke end def remove_layout_roots