Hopefully, this will save some Rails programmers a bit of searching.
Permission denied – activesupport-2.3.2 or activesupport error when trying to run rake rails:freeze:gems? For solution refer to http://www.ruby-forum.com/topic/184589 .
In a nutshell, you need to edit line 28 of ruby\lib\ruby\gems\1.8\gems\rails-2.3.2\lib\tasks\framework.rake to include sleep(5) between the Gem::GemRunner line and the mv line.
Tags: freeze gems, rails, windows