bug fix: loading assets in pre-release gems (like :path=> :git=> in Gemfile)

This commit is contained in:
zbo 2013-04-30 18:44:01 +08:00
parent aaf90be163
commit fce9d17a81

View file

@ -84,7 +84,7 @@ module Middleman
def rubygems_latest_specs
# If newer Rubygems
if ::Gem::Specification.respond_to? :latest_specs
::Gem::Specification.latest_specs
::Gem::Specification.latest_specs(true)
else
::Gem.source_index.latest_specs
end