Thanks all ----

Final Result:

##############################

require 'rubygems'
require 'facets/enumerable'

puts "###################################"
puts "###        Anagram Solver       ###"
puts "###################################"

print "Enter Word: "
letters = gets.chomp
modletters = letters.split('')
res = []

modletters.each_permutation {|word| res << word.join}
puts "Finding All Possible Combinations..."


file = open('dict1.txt') {|p|  p.readlines}
dict = []
file.each {|p| dict << p}

res.collect! {|c| c + "\n"}

    puts "Finished."
    puts "Solution: #{res&dict}"

######################################

How accurate it is depends on the dictionary, i used an 8mb password 
dictionary so the common issue is that it comes up with garble words in 
the list of solutions sometimes, and sometimes spells the word 
backwards, but none-the-less the word im looking for is always there.

Feel free to improve it if you see a flaw or a better way of doing it

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