I'm having trouble with rake rails:freeze:gems on both my windows and linux machines and I was wondering if someone can help.
In Windows I'm getting this error. It seems that it can't rename activesupport due to permissions, but I'm not sure what to do. The files in activesupport-2.0.1 seem to be writable. C:\InstantRails\rails_apps\timesheet>rake rails:freeze:gems - (in C:/InstantRails/rails_apps/timesheet) ** Invoke rails:freeze:gems (first_time) ** Execute rails:freeze:gems Freezing to the gems for Rails 2.0.1 Unpacked gem: 'activesupport-2.0.1' rake aborted! Permission denied - activesupport-2.0.1 or activesupport C:/InstantRails/ruby/lib/ruby/1.8/fileutils.rb:505:in `rename C:/InstantRails/ruby/lib/ruby/1.8/fileutils.rb:505:in `mv'
In Linux, I'm getting the following, despite checking both /usr/bin/ gem and framework.rake to make sure that rubygems/gem_runner was being required right after rubygems. ** Invoke rails:freeze:gems (first_time) ** Execute rails:freeze:gems Freezing to the gems for Rails 2.0.1 rake aborted! uninitialized constant Gem::GemRunner /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in `const_missing' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.1/lib/tasks/framework.rake:26 /usr/lib64/ruby/gems/1.8/gems/rails-2.0.1/lib/tasks/framework.rake: 25:in `each' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.1/lib/tasks/framework.rake:25 /usr/lib/ruby/1.8/fileutils.rb:121:in `chdir' /usr/lib/ruby/1.8/fileutils.rb:121:in `chdir' /usr/lib64/ruby/gems/1.8/gems/rails-2.0.1/lib/tasks/framework.rake:24