# Issue with rake db:migrate command

**URL:** <https://www.ruby-forum.com/t/issue-with-rake-db-migrate-command/88242>\
**Category:** Rails\
**Created:** [March 9, 2007, 3:14am UTC](https://www.ruby-forum.com/t/issue-with-rake-db-migrate-command/88242 "2007-03-09T03:14:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [March 9, 2007, 3:14am UTC](https://www.ruby-forum.com/t/issue-with-rake-db-migrate-command/88242/1 "2007-03-09T03:14:20Z")

</div>

In chapter five of the book Build Your Own Ruby on Rails Applications,  
when I entered the rake db:migrate command in the Ruby console, I got  
the following message back:

Warning require\_gem is obsolete. Use gem instead.

What does this mean, and what should I do? Was the rake db:migrate  
command executed? If I want to update require\_gem, what do I need to do?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [March 9, 2007, 4:27am UTC](https://www.ruby-forum.com/t/issue-with-rake-db-migrate-command/88242/2 "2007-03-09T04:27:57Z")

</div>

This is not really a Rails problem, more an issue with the new gem  
package.  
You can safely ignore it, but if you want to get rid of the error then  
edit the config/boot.rb file and change line 29 (I think) from  
“require\_gem …” to just “gem”  
This has already been fixed in Rails development (edge)

On Mar 9, 1:14 pm, Paul D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
