You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another issue about importing gems locally:
This rake task rake gemcutter:import:process ~/code/gemcutter/vendor/cache aborted when write_gem method is invoked.
So, based on my prev. issue I see this picture:
— if some gem has dep's, it's failure here: https://github.com/rubygems/gemcutter/blob/master/app/models/pusher.rb#L50 and then next gem's turn.
— if some gem hasn't any dep's, it failures with nil.files as I showed above. And it saved to rubygems table, too. So, the next time I started this rake task, this gem will be skipped (because no version update).
No gems are imported to /server/cache dir, but gems w/o dependencies save themselfs to DB (linksets, ownerships, versions and rubygems tables).
Sorry for my English, I hope you will understand me.
The text was updated successfully, but these errors were encountered:
Another issue about importing gems locally:
This rake task
rake gemcutter:import:process ~/code/gemcutter/vendor/cache
aborted whenwrite_gem
method is invoked.This is because this method https://github.com/rubygems/gemcutter/blob/master/app/models/vault.rb#L17-19 returns
nil
. So, the next step isdirectory.files
, which raisesundefined method 'files' for nil:NilClass
.So, based on my prev. issue I see this picture:
— if some gem has dep's, it's failure here: https://github.com/rubygems/gemcutter/blob/master/app/models/pusher.rb#L50 and then next gem's turn.
— if some gem hasn't any dep's, it failures with
nil.files
as I showed above. And it saved torubygems
table, too. So, the next time I started this rake task, this gem will be skipped (because no version update).No gems are imported to /server/cache dir, but gems w/o dependencies save themselfs to DB (
linksets
,ownerships
,versions
andrubygems
tables).Sorry for my English, I hope you will understand me.
The text was updated successfully, but these errors were encountered: