From: jonathan kav Date: 2013-04-01T18:13:40+09:00 Subject: Re: uninitialized constant ActiveRecord (NameError) ok I tried added active records as you said but i think that i am missing the original circle.rb file so i have only half of the script. this is an old script that was written a few years ago. i will try to get a hold on it. if i use the gem it doesnt work. require 'active_record' require 'ruby-debug' require 'circle' first_circle=Circle.new() @number_of_rounds=1 primaries=Array.new @prime_numbers=Hash.new @prime_numbers[1]=0 #@prime_numbers and it goes on.... i get this message primes.rb:7:in `
': undefined method `new' for Circle:Module (NoMethodError) so you are right it is a missing script. thank you for your help. Jonathan -- Posted via http://www.ruby-forum.com/.