Need to decode 1D/2D bars and don't mind using JRuby to help with the task? ZXing is the wrapper for you!
ecin, Joshua Davey
gem "zxing", "~> 0.2.1"