[Locomotive-users] Rails 1.2.1 Bundles
Ryan Raaum
ryan.raaum at gmail.com
Mon Jan 22 13:56:20 GMT 2007
On 1/20/07, Rich Morin <rdm at cfcl.com> wrote:
>
> I loaded (I think :) the latest version of Locomotive and
> the latest bundle (for PPC). I'm getting some minor grief:
>
> > rdm at cerberus [~...Racks/Racks] 9: ruby script/generate migration
> >add_monkeys_table
> > ./script/../config/boot.rb:29:Warning: require_gem is obsolete. Use gem
> >instead.
> > create db/migrate
> > create db/migrate/001_add_monkeys_table.rb
> > rdm at cerberus [~...Racks/Racks] 10: rake migrate
> > (in /Local/_Private/Homes/rdm/Private/Work/Racks/Racks)
> >
>
> >/Local/_Private/Homes/rdm/Private/Work/Racks/Racks/config/boot.rb:29:Warning:
> >require_gem is obsolete. Use gem instead.
> > == AddMonkeysTable: migrating
> >=================================================
> > -- create_table(:monkeys)
> > -> 0.0098s
> > == AddMonkeysTable: migrated (0.0103s)
> >========================================
> >
> > The rake task migrate has been deprecated, please use the replacement
> >version db:migrate
>
> Am I doing something wrong or is there some version slippage?
All of these are expected warnings. Rubygems 0.9.1 deprecates "require_gem"
in favor of "gem". You can make that warning go away by changing out the
require_gem lines in your app (there are a couple in config/boot.rb).
Same for "rake migrate", the new rake tasks are namespaced, so you should be
switching to "rake db:migrate".
Best,
-r
-r
> --
> http://www.cfcl.com/rdm Rich Morin
> http://www.cfcl.com/rdm/resume rdm at cfcl.com
> http://www.cfcl.com/rdm/weblog +1 650-873-7841
>
> Technical editing and writing, programming, and web development
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
--
Ryan Raaum
http://raaum.org
http://rails.raaum.org -- Rails docs
http://locomotive.raaum.org -- Self contained Rails for Mac OS X
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070122/8c9051f6/attachment.htm
More information about the Locomotive-users
mailing list