# Cannot rake my gems

**URL:** <https://www.ruby-forum.com/t/cannot-rake-my-gems/153257>\
**Category:** Rails\
**Created:** [November 14, 2008, 1:33am UTC](https://www.ruby-forum.com/t/cannot-rake-my-gems/153257 "2008-11-14T01:33:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![capslock118](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/df705f/32.png) [@capslock118](https://www.ruby-forum.com/u/capslock118)\
**Post date:** [November 14, 2008, 1:33am UTC](https://www.ruby-forum.com/t/cannot-rake-my-gems/153257/1 "2008-11-14T01:33:57Z")

</div>

Hi,

So in a recently previous post I explained I am having an issue that I  
believe is due to the application being upgraded to 2.1 from 2.0.1

To minimize headaches I thought freezing gems would be a grandios  
idea…

however I recieve this error and I am finding little information on the  
web about it.

Code :

1. webuser@server:/var/www/$ rake rails:freeze:gems
2. (in /var/www/gdc)
3. rake aborted!
4. undefined method `version’ for nil:NilClass
5. 
6. (See full trace by running task with --trace)
7. webuser@server:/var/www/$

Does anyone know the issue?

I read that it is possible my gems might be out of date or rake might  
be, so i try to update gems but I get a ‘Killed’ message with no sign of  
a successful update.

Thank you for any knowledge you could provide.

---

<div class="post-metadata">

**Author:** ![capslock118](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/df705f/32.png) [@capslock118](https://www.ruby-forum.com/u/capslock118)\
**Post date:** [November 14, 2008, 4:42pm UTC](https://www.ruby-forum.com/t/cannot-rake-my-gems/153257/2 "2008-11-14T16:42:35Z")

</div>

try again with

rake --trace rails:freeze:gems

to get a more descriptive error trace

On Nov 13, 7:33 pm, Caps L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
