bug fix: loading assets in pre-release gems (like :path=> :git=> in Gemfile)
This commit is contained in:
parent
aaf90be163
commit
fce9d17a81
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ module Middleman
|
||||||
def rubygems_latest_specs
|
def rubygems_latest_specs
|
||||||
# If newer Rubygems
|
# If newer Rubygems
|
||||||
if ::Gem::Specification.respond_to? :latest_specs
|
if ::Gem::Specification.respond_to? :latest_specs
|
||||||
::Gem::Specification.latest_specs
|
::Gem::Specification.latest_specs(true)
|
||||||
else
|
else
|
||||||
::Gem.source_index.latest_specs
|
::Gem.source_index.latest_specs
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue