From: Robert Jackson Date: 2013-04-01T00:29:23+09:00 Subject: Re: uninitialized constant ActiveRecord (NameError) --Apple-Mail-47F3C72D-6A94-4E83-9D48-869A0E03FCEA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Mar 31, 2013, at 10:32 AM, jonathan kav > require 'circle' > Circle is a gem for modeling activerecord relationships. (See: https://rubygems.org/gems/circle) You will likely need to install activerecord to use it. Easiest way to install it would be: gem install activerecord Then require it before requiring 'circle': require 'activerecord' Now, if you are not trying to use the circle gem (for example if you have a file named 'circle.rb') that you are trying to require you should require it via either of the two following methods: require_relative 'circle' # or require './circle' Hope that helps... --Apple-Mail-47F3C72D-6A94-4E83-9D48-869A0E03FCEA Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On Mar 31, 2013, at 10:32 AM, jonathan kav <lists@ruby-forum.com

require 'circle'
<= /span>
Circle is a gem for modeling activerecord relationships.
(See: https://rubygems.org/gems/circ= le)
You will likely need to install activerecord to use it. <= /span>

Easiest way to install it would be:
=

=
gem install activerecord

Then require it before requiring 'circle':

re= quire 'activerecord'

=

Now, if you are not trying to use the circle gem (for example i= f 
you have a file named 'c= ircle.rb') that you are trying to require you 
should require it via either of the two following metho= ds:

require_relative 'circle'

# or

require './circle'

Hope that helps...<= /div>
= --Apple-Mail-47F3C72D-6A94-4E83-9D48-869A0E03FCEA--