Skip to content

A platform for community discussion. Free, open, simple.

Revert "FIX: `plugin:install_all_gems` Rake task not installing plugin gem (#24522)" (#24524)

Alan Guo Xiang Tanaaadce065278
diff --git a/lib/tasks/plugin.rake b/lib/tasks/plugin.rake
index f3c3333f9cb..e20c121f0ee 100644
--- a/lib/tasks/plugin.rake
+++ b/lib/tasks/plugin.rake
@@ -170,8 +170,18 @@ end
desc "install all plugin gems"
task "plugin:install_all_gems" do |t|
- ENV["LOAD_PLUGINS"] = "1"
- Rake::Task["environment"].invoke
+ # Left intentionally blank.
+ # When the app is being loaded, all missing gems are installed
+ # See: lib/plugin_gem.rb
+ puts "Done"
+end
+
+desc "install plugin gems"
+task "plugin:install_gems", :plugin do |t, args|
+ # Left intentionally blank.
+ # When the app is being loaded, all missing gems are installed
+ # See: lib/plugin_gem.rb
+ puts "Done"
end
def spec(plugin, parallel: false, argv: nil)