# Rake freeze error

**URL:** <https://www.ruby-forum.com/t/rake-freeze-error/82841>\
**Category:** Rails\
**Created:** [January 21, 2007, 7:44pm UTC](https://www.ruby-forum.com/t/rake-freeze-error/82841 "2007-01-21T19:44:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ron\_Booker](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e79b87/32.png) [@Ron\_Booker](https://www.ruby-forum.com/u/Ron_Booker)\
**Post date:** [January 21, 2007, 7:44pm UTC](https://www.ruby-forum.com/t/rake-freeze-error/82841/1 "2007-01-21T19:44:37Z")

</div>

I tried to freeze an app only to have it blow up in my face. This one  
is completely beyond me. My hard drive crashed on me recently, and  
this is a brand new rails 1.2.1/gem 0.9.1 installation. Worked fine  
before on 1.1.6/0.9.0, but now, this:

republic:~/work/rakehatesme ron$ rake rails:freeze:gems --trace  
(in /Users/ron/work/rakehatesme)  
\*\* Invoke rails:freeze:gems (first\_time)  
\*\* Execute rails:freeze:gems  
Freezing to the gems for Rails 1.2.1  
rm -rf vendor/rails  
mkdir -p vendor/rails  
cd vendor/rails  
ERROR: While executing gem … (ArgumentError)  
install directory “activesupport-1.4.0” not absolute  
rake aborted!  
exit  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/user\_interaction.rb:171:in  
`exit' /usr/local/lib/ruby/site_ruby/1.8/rubygems/user_interaction.rb:171:in`terminate\_interaction’  
(eval):3:in `terminate_interaction' /usr/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:95:in`run’  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/gem\_runner.rb:30:in `run' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/tasks/framework.rake:26 /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/tasks/framework.rake:25:in`each’  
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/tasks/framework.rake:25  
/usr/local/lib/ruby/1.8/fileutils.rb:121:in `chdir' /usr/local/lib/ruby/1.8/fileutils.rb:121:in`chdir’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:812:in `chdir' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/tasks/framework.rake:24 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in`call’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in  
`execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in`each’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in  
`execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in`invoke’  
/usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in`invoke’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in`each’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /usr/local/bin/rake:16:in`load’  
/usr/local/bin/rake:16

-Ron

---

<div class="post-metadata">

**Author:** ![Ron\_Booker](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e79b87/32.png) [@Ron\_Booker](https://www.ruby-forum.com/u/Ron_Booker)\
**Post date:** [January 22, 2007, 1:30am UTC](https://www.ruby-forum.com/t/rake-freeze-error/82841/2 "2007-01-22T01:30:32Z")

</div>

I (and many others) have experienced this issue. It seems to be  
related to the new rubygems rather than rails, or the interaction  
between the two.

---

<div class="post-metadata">

**Author:** ![Ron\_Booker](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e79b87/32.png) [@Ron\_Booker](https://www.ruby-forum.com/u/Ron_Booker)\
**Post date:** [February 18, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/rake-freeze-error/82841/3 "2007-02-18T16:01:38Z")

</div>

upgrading to the latest gem seems to fix the problem.

gem update --system
