summaryrefslogtreecommitdiff
path: root/ext/psych/psych.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'ext/psych/psych.gemspec')
-rw-r--r--ext/psych/psych.gemspec3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/psych/psych.gemspec b/ext/psych/psych.gemspec
index df91ff4..9597e98 100644
--- a/ext/psych/psych.gemspec
+++ b/ext/psych/psych.gemspec
@@ -1,4 +1,5 @@
# -*- encoding: utf-8 -*-
+$:.unshift File.expand_path("../lib", __FILE__)
require 'psych'
Gem::Specification.new do |s|
@@ -33,7 +34,7 @@ DESCRIPTION
if RUBY_ENGINE == 'jruby'
s.platform = 'java'
s.files.concat ["ext/java/PsychEmitter.java", "ext/java/PsychLibrary.java", "ext/java/PsychParser.java", "ext/java/PsychToRuby.java", "ext/java/PsychYamlTree.java", "lib/psych_jars.rb", "lib/psych.jar"]
- s.requirements = "jar org.yaml:snakeyaml, #{Psych::DEFAULT_SNAKEYAML_VERSION}"
+ s.requirements = "jar org.yaml:snakeyaml, 1.17"
s.add_dependency 'jar-dependencies', '>= 0.1.7'
s.add_development_dependency 'ruby-maven'
else