diff --git a/ext/psych/psych.gemspec b/ext/psych/psych.gemspec index 8c81e56bd5..5f4bb43e0e 100644 --- a/ext/psych/psych.gemspec +++ b/ext/psych/psych.gemspec @@ -60,7 +60,7 @@ DESCRIPTION "lib/psych_jars.rb", "lib/psych.jar" ] - s.requirements = "jar org.yaml:snakeyaml, #{Psych::DEFAULT_SNAKEYAML_VERSION}" + s.requirements = "jar org.yaml:snakeyaml, #{version_module::Psych::DEFAULT_SNAKEYAML_VERSION}" s.add_dependency 'jar-dependencies', '>= 0.1.7' else s.extensions = ["ext/psych/extconf.rb"]