Found one other mention that might be of interest: http://www.ruby-forum.com/topic/115921
This is with a similar problem related to renaming session files. Given that the above issue doesn't share any code with the rails:freeze:gems task, I'm guessing this is some kind of extremely obscure Ruby bug. And given that it doesn't occur when the commands are executed in irb, it seems likely that it's some kind of filesystem race condition... Sj, could you try dropping a sleep(10) call in between the unpack and move steps? If that makes the problem go away, that will be useful information... --Matt Jones On Apr 19, 9:49 pm, Sj Tib <rails-mailing-l...@andreas-s.net> wrote: > To eliminate any corruption I reinstalled ruby and rails (2.2.2) and > created an empty project but the same error persists with "rake > rails:freeze:gems". > > "Permission denied - activesupport-2.2.2 or activesupport" > > I added some debug code to the mv function in fileUtils but I can't get > any additional information. > > 1. How can I debug rake tasks? Is there a way to set breakpoints in > fileutils.rb when "rake rails:freeze:gems" runs so I can inspect the > data there? > > 2. How can I get information about what user is the command "rake > rails:freeze:gems" running under? I am system admin on my box so I just > don't understand the permission denied error I am seeing > > I also tried to go down the other path I had tried earlier to freeze > rails with "rake rails:freeze:edge TAG=rel_2-2-2". It looks like there > the system can't find an unzip executable - I have Winzip on my box but > not sure if that matters. I saw in another post > (http://www.question-defense.com/2009/04/02/error-freezing-rails-usr-l...) > that doing a "yum install unzip" on a linux box apparently solved this > kind of problem. Is there an equivalent "unzip" install for XP box that > might address this aspect of the problem? > > D:\TestRails2>rake rails:freeze:edge TAG=rel_2-2-2 --trace > (in D:/TestRails2) > ** Invoke rails:freeze:edge (first_time) > ** Execute rails:freeze:edge > cd vendor > Downloading Rails fromhttp://dev.rubyonrails.org/archives/rails_edge.zip > Unpacking Rails > rm -rf rails > ---> removed rails directory successfully > c:/ruby/bin/rake.bat: No such file or directory - unzip rails.zip > ---> unzipped rails.zip > rm -f rails.zip > rm -f rails/Rakefile > rm -f rails/cleanlogs.sh > rm -f rails/pushgems.rb > rm -f rails/release.rb > touch rails/REVISION_7ce0778a1516110cf8015e59e2e8fac15032379c > rake aborted! > No such file or directory - > rails/REVISION_7ce0778a1516110cf8015e59e2e8fac15032379c > > I don't really know what else to do to debug this problem. Could use > some help/pointers here. > > Thanks, > -S > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---