Re: require_gem is obsolete

Phlip
Sun, 04 Feb 2007 01:23:43 -0000

Jordan Krushen wrote:

> > I just ran rake rails:update (per my other post, and thaaanks for
> > teeelling me about it, guys!), and it fixed my gem() calls by
> > upgrading them to require_gem().
>
> Shouldn''t that be the other way ''round?

That was my insinuation. I fixed things manually, like y''all are
discussing, then I ran rails:update, and it un-fixed them.

phlip@penbird:~/projects$ rails -v
Rails 1.2.1
phlip@penbird:~/projects$ rails scratch
phlip@penbird:~/projects$ cd scratch/
phlip@penbird:~/projects/scratch$ grep require_gem config/boot.rb
        require_gem "rails", "=#{rails_gem.version.version}"
      require_gem "rails"

The base generator is generating the noisily deprecated version.

--
  Phlip
  http://c2.com/cgi/wiki?ZeekLand  <-- NOT a blog!!