mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:13:38 +08:00
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:
parent
c89edd9e86
commit
aaadce0652
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user