I apologize. I actually managed to get the until loops working after 
some reinstalling. However, the .collect method still dosnt work and I 
really want to use it. The code looks like this:


array = [1,2,5,7]

array.collect do |x|
 x = x*2
end

puts array.inspect


After I have run this code it still says the array is [1,2,5,7].

-- 
Posted via http://www.ruby-forum.com/.