mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:51:07 +08:00
BUGFIX: do not install dependencies from plugin, must be explicit
This commit is contained in:
@ -205,7 +205,7 @@ class Plugin::Instance
|
||||
spec_path = gems_path + "/specifications"
|
||||
spec_file = spec_path + "/#{name}-#{version}.gemspec"
|
||||
unless File.exists? spec_file
|
||||
command = "gem install #{name} -v #{version} -i #{gems_path} --no-document"
|
||||
command = "gem install #{name} -v #{version} -i #{gems_path} --no-document --ignore-dependencies"
|
||||
if opts[:source]
|
||||
command << " --source #{opts[:source]}"
|
||||
end
|
||||
|
Reference in New Issue
Block a user