From: Jeremy Henderson Date: 2013-03-29T06:13:54+09:00 Subject: Re: Translation Project What are you running this in? Because I can't get it to run with it requiring the ruiby.app. I am trying to work on it in CodeAcademy Labs and it keeps hitting the error: (eval):12: (eval):12:in `require': no such file to load -- Ruiby (LoadError) from (eval):12 Even when I would run it as the original two posts you made: print "Word ? " while (word=$stdin.gets).size>1 puts word.chomp.upcase.split(//).map { |l| conv(l) }.join("") print "Word ? " end $h={ "A" => %w{A B C D E F}, "B" => %w{G H I J K L}, "C" => %w{M N O P Q R}, "D" => %w{S T U V W X Y Z} } $reverseh= $h.inject({}) { |h,(k,a)| a.each {|l| h[l]=k } ; h } def conv(letter) $reverseh[letter] || letter end puts ARGV.map { |word| word.upcase.split(//).map { |l| conv(l) }.join("") }.join(" ") It hits the error: (eval):14: undefined method `conv' for main:Object (NoMethodError) from (eval):14:in `map' from (eval):14 -- Posted via http://www.ruby-forum.com/.