Gem.searcher was deprecated in 2.0.0. New codes works in 1.8.0+