[Rubygems-developers] [ rubygems-Bugs-28226 ] Gem::PackageTask gem_dir incorrect

noreply at rubyforge.org noreply at rubyforge.org
Fri Nov 12 20:19:13 EST 2010


Bugs item #28226, was opened at 2010-05-20 13:42
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28226&group_id=126

Category: other
Group: v1.3.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Nick Sieger (nicksieger)
>Assigned to: John Barnette (jbarnette)
Summary: Gem::PackageTask gem_dir incorrect

Initial Comment:
The local variable "gem_dir" in Gem::PackageTask as added in r2471 incorrectly includes the platform (via gem_spec.full_name) when the parent is only expecting name-version. For gems that have platform names, this results in a bad rake prerequisite, since the actual directory is named without the '-java'.

Don't know how to build task 'pkg/activerecord-jdbc-adapter-0.9.7-java'

I think the intention is to just depend on the #package_dir_path name instead. Patch attached.


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28226&group_id=126


More information about the Rubygems-developers mailing list