Added rake console with pry
Refactor in memory queue for error in JRuby