mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Revert "Experimental feature to load gemfiles from plugins"
This reverts commit 64652f98ab
.
This commit is contained in:
parent
3b74c0e3b8
commit
6b4f265a8c
1 changed files with 0 additions and 7 deletions
7
Gemfile
7
Gemfile
|
@ -191,10 +191,3 @@ group :profile do
|
||||||
# if you need to profile, uncomment out this line
|
# if you need to profile, uncomment out this line
|
||||||
# gem 'rack-perftools_profiler', require: 'rack/perftools_profiler', platform: :mri_19
|
# gem 'rack-perftools_profiler', require: 'rack/perftools_profiler', platform: :mri_19
|
||||||
end
|
end
|
||||||
|
|
||||||
# Experiment feature to load gemfiles from plugins
|
|
||||||
if ENV['DISCOURSE_PLUGIN_GEMFILES']
|
|
||||||
Dir.glob(File.join(File.dirname(__FILE__), 'plugins', '*', "Gemfile")) do |gemfile|
|
|
||||||
eval(IO.read(gemfile), binding)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue