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

This breaks the `plugin:install_all_gems` Rake task when used before
Redis is running. Need to go back to the drawing board.

This reverts commit 189aa5fa4e.
This commit is contained in:
Alan Guo Xiang Tan 2023-11-23 13:01:54 +08:00 committed by GitHub
parent c89edd9e86
commit aaadce0652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)