Skip to content

Commit

Permalink
Failed to flush cache
Browse files Browse the repository at this point in the history
Issue: #38
  • Loading branch information
PierreRambaud committed Dec 1, 2016
1 parent 33014c0 commit 719f97a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/gemirro/gems_fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def versions_for(gem)
#
def fetch_gemspec(gem, version)
filename = gem.gemspec_filename(version)
puts filename.inspect
satisfied = if gem.only_latest?
true
else
Expand Down
2 changes: 1 addition & 1 deletion lib/gemirro/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def update_indexes
Utils.logger.info('Generating indexes')
indexer.update_index
indexer.updated_gems.peach do |gem|
Utils.cache.flush_key(gem.name)
Utils.cache.flush_key(File.basename(gem))
end
rescue SystemExit => e
Utils.logger.info(e.message)
Expand Down

0 comments on commit 719f97a

Please sign in to comment.