From: Gregory Brown Date: 2007-08-02T04:38:45+09:00 Subject: Re: Railless ActiveRecord [Problem 2] On 8/1/07, Ari Brown wrote: > Ok. I have another Problem > > Whenever I use my require statements: > > require 'rubygems' > require 'active_record' > > there is always a bunch of warnings spat out by activerecord. > > HOWEVER, when I use: > > require 'rubygems' > gem 'activerecord' > > these warning do not show. Why is that? Because gem() doesn't require anything. > And of late, when I use: > > require 'rubygems' > gem 'activerecord' > > I get a require error saying not that the gem 'activerecord' could > not be found, > but that I have an unitiliazed constant 'ActiveRecord::Base'. See above. :)