Thanks Matt. I did see that thread as well after my post but that didn't help me. I dug into the framework.rake file where the freeze:gems task is located and added some debug statements there. I renamed the tasks to be sure I am calling the right one (added 2_3_2 at the end - previously I was trying to freeze 2.2.2 then started trying 2.3.2 in case there were bugs in 2.2.2) and added some comments to the code in the task - one comment after the unpack statement completes and another one after the mv statement completes. Below is the output of running the command. The statement after unpack shows up but the one after mv doesn't.
Essentially code tells me that the unpacking is successful but when the code tries to rename the file through "mv activesupport-2.3.2 activesupport" it fails with "permission denied". Here are some things to note. 1. Running the freeze:gems task as below creates the vendor/rails and then after unpacking it creates the activesupport-2.3.2 directory. That directory contains *part* of the directory structure of the actual activesupport-2.3.2 and with no files in any directory 2. I run the command "ren activesupport-2.3.2 activesupport" and it works find - don't understand why that rename fails through the script which gets called through fileutils.rb through the mv command (I will have to dig into that next) 3. I cleaned out the vendor/rails directory and manually ran the "gem unpack activesupport" and it created a *complete* copy of the activesupport-2.3.2 directory structure *with the files* 4. Sounds like perms command is more for a linux box - doesn't seem to be applicable for my XP box. The directory has read only permissions when I check in the directory properties 5. I have admin privileges on my laptop - never had any issue with any install so I don't understand what the "permission denied" error is about. It almost sounds like the script is running under another user's privileges but that doesn't sound right. Or is that possible? I will continue to dig but I have already wasted so much time on something that was supposed to be so trivial that it is hurting. Thanks for your help. -S D:\myPadosi\Trunk>rake rails:freeze_2_3_2:gems_2_3_2 --trace (in D:/myPadosi/Trunk) ** Invoke rails:freeze_2_3_2:gems_2_3_2 (first_time) ** Execute rails:freeze_2_3_2:gems_2_3_2 Statring gem freeze with deps = actionpackactiverecordactionmaileractivesupportactiveresource from 2.3.2 Freezing to the gems for Rails 2.3.2 rm -rf vendor/rails mkdir -p vendor/rails cd vendor/rails ---> g.name = activesupport Unpacked gem: 'D:/myPadosi/Trunk/vendor/rails/activesupport-2.3.2' --->Unpacked successfully - moving activesupport-2.3.2 to activesupport mv activesupport-2.3.2 activesupport rm -rf vendor/rails rake aborted! Permission denied - activesupport-2.3.2 or activesupport c:/ruby/lib/ruby/1.8/fileutils.rb:501:in `rename' c:/ruby/lib/ruby/1.8/fileutils.rb:501:in `mv' c:/ruby/lib/ruby/1.8/fileutils.rb:1379:in `fu_each_src_dest' c:/ruby/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest0' c:/ruby/lib/ruby/1.8/fileutils.rb:1377:in `fu_each_src_dest' c:/ruby/lib/ruby/1.8/fileutils.rb:490:in `mv' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1070:in `mv' c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/framework.rake:31 c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/framework.rake:27:in `each' c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/framework.rake:27 c:/ruby/lib/ruby/1.8/fileutils.rb:121:in `chdir' c:/ruby/lib/ruby/1.8/fileutils.rb:121:in `chdir' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1070:in `chdir' c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/framework.rake:26 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:578:in `invoke_with_call_chain' c:/ruby/lib/ruby/1.8/monitor.rb:238:in `synchronize' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in `invoke_with_call_chain' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:564:in `invoke' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2027:in `invoke_task' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `each' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1999:in `top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1977:in `run' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31 c:/ruby/bin/rake:19:in `load' c:/ruby/bin/rake:19 -- Posted via http://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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

