# Rake rails:update:javascripts fails in 1.2

**URL:** <https://www.ruby-forum.com/t/rake-railsjavascripts-fails-in-1-2/103584>\
**Category:** Rails\
**Created:** [May 8, 2007, 4:52am UTC](https://www.ruby-forum.com/t/rake-railsjavascripts-fails-in-1-2/103584 "2007-05-08T04:52:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [May 8, 2007, 4:52am UTC](https://www.ruby-forum.com/t/rake-railsjavascripts-fails-in-1-2/103584/1 "2007-05-08T04:52:49Z")

</div>

What’s up with this?

$ rake rails:update:javascripts  
(in /var/www/apps/releases/20061027204658)  
rake aborted!  
undefined method `gem’ for main:Object  
/var/www/apps/releases/20061027204658/Rakefile:4

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [May 8, 2007, 8:01am UTC](https://www.ruby-forum.com/t/rake-railsjavascripts-fails-in-1-2/103584/2 "2007-05-08T08:01:47Z")

</div>

> What’s up with this?
> 
> $ rake rails:update:javascripts  
> (in /var/www/apps/releases/20061027204658)  
> rake aborted!  
> undefined method `gem’ for main:Object  
> /var/www/apps/releases/20061027204658/Rakefile:4

You don’t have a recent version of RubyGems installed. Install the  
latest and bliss will ensue.

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [May 8, 2007, 8:06am UTC](https://www.ruby-forum.com/t/rake-railsjavascripts-fails-in-1-2/103584/3 "2007-05-08T08:06:18Z")

</div>

DHH wrote:

> > What’s up with this?
> > 
> > $ rake rails:update:javascripts  
> > (in /var/www/apps/releases/20061027204658)  
> > rake aborted!  
> > undefined method `gem’ for main:Object  
> > /var/www/apps/releases/20061027204658/Rakefile:4
> 
> You don’t have a recent version of RubyGems installed. Install the  
> latest and bliss will ensue.

Not really–now logs are filled with deprecation warnings about  
‘require\_gem’ or ‘ruby\_gem’ or some such. From Mongrel I think.

It still didn’t make my named routes problem blissful.

Joe

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [May 8, 2007, 8:18am UTC](https://www.ruby-forum.com/t/rake-railsjavascripts-fails-in-1-2/103584/4 "2007-05-08T08:18:48Z")

</div>

> > You don’t have a recent version of RubyGems installed. Install the  
> > latest and bliss will ensue.
> 
> Not really–now logs are filled with deprecation warnings about  
> ‘require\_gem’ or ‘ruby\_gem’ or some such. From Mongrel I think.

Reinstall the gems that are whining about that. Mongrel and rake will  
whine until reinstalled.

> It still didn’t make my named routes problem blissful.

I’ve addressed that in another post.

Still, I’m impressed by your attitude. You have a problem, get help to  
mitigate that problem, then discover a smaller issue, and instead of  
being happy you’re making progress, you’re focusing all your energy on  
being angry.

Take a walk, read a magazine, jerk off, whatever it takes to get all  
that tension out of your system before you choose to engage in public  
discourse again.

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [May 8, 2007, 8:39am UTC](https://www.ruby-forum.com/t/rake-railsjavascripts-fails-in-1-2/103584/5 "2007-05-08T08:39:21Z")

</div>

DHH wrote:

> > > You don’t have a recent version of RubyGems installed. Install the  
> > > latest and bliss will ensue.
> > 
> > Not really–now logs are filled with deprecation warnings about  
> > ‘require\_gem’ or ‘ruby\_gem’ or some such. From Mongrel I think.
> 
> Reinstall the gems that are whining about that. Mongrel and rake will  
> whine until reinstalled.
> 
> > It still didn’t make my named routes problem blissful.
> 
> I’ve addressed that in another post.
> 
> Still, I’m impressed by your attitude. You have a problem, get help to  
> mitigate that problem, then discover a smaller issue, and instead of  
> being happy you’re making progress, you’re focusing all your energy on  
> being angry.
> 
> Take a walk, read a magazine, jerk off, whatever it takes to get all  
> that tension out of your system before you choose to engage in public  
> discourse again.

Aaaaaahhhhahahahahahahaha.

[http://www.goyk.com/flash.asp?path=461](http://www.goyk.com/flash.asp?path=461)

Hey, I feel better now!

Joe
