Gem::Specification gem_dir workaround

Gem::Specification under gem 2.4 won't find hydra-access-controls
using .find_by_name.