Fix dependencies for rubies different from mri and jruby