Permalink
Browse files

Merge pull request #1 from cfregin/master

A try to get flex image working in jRuby.
  • Loading branch information...
2 parents 401ea4a + cf1ca0d commit 1247ead4544e6904e891599ffdccc22a9c08ac83 Thomas von Deyen committed Oct 30, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 tvdeyen-fleximage.gemspec
@@ -163,7 +163,12 @@ super easy.
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<rmagick>, [">= 0"])
+ #s.add_runtime_dependency(%q<rmagick>, [">= 0"])
+ if(RUBY_ENGINE == 'jruby')
+ s.add_runtime_dependency(%q<rmagick4j>, [">= 0"])
+ else
+ s.add_runtime_dependency(%q<rmagick>, [">= 0"])
+ end
s.add_runtime_dependency(%q<aws-s3>, [">= 0"])
s.add_development_dependency(%q<rails>, [">= 3.0.0"])
else

0 comments on commit 1247ead

Please sign in to comment.