Permalink
Browse files

making sure nokogiri jar is in the packaged gem. THANKS ERIC!!

  • Loading branch information...
1 parent 3c11e29 commit 449619dae1f70ff20cd0e0b430a396bf438d4068 @tenderlove tenderlove committed Jan 27, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 Rakefile
View
@@ -76,10 +76,10 @@ if java
ext.ext_dir = 'ext/java'
ext.classpath = CLASSPATH
end
- path = "pkg/#{HOE.spec.full_name}"
- directory path do
- puts "fuck"
- exit!
+ path = "pkg/#{HOE.spec.name}-#{HOE.spec.version}"
+ task path => :compile do
+ cp 'lib/nokogiri/nokogiri.jar', File.join(path, 'lib')
+ HOE.spec.files += ['lib/nokogiri/nokogiri.jar']
end
else
require "rake/extensiontask"

0 comments on commit 449619d

Please sign in to comment.