[Rubygems-developers] [ rubygems-Bugs-28454 ] gem install --development installs transitive development dependencies

noreply at rubyforge.org noreply at rubyforge.org
Sat Aug 7 10:49:24 EDT 2010


Bugs item #28454, was opened at 2010-08-07 14:49
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28454&group_id=126

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Roger Pack (rogerdpack)
Assigned to: Nobody (None)
Summary: gem install --development installs transitive development dependencies

Initial Comment:
Currently it appears that if you install a gem with --development, it installs not only its development dependencies, and also its development dependencies' development dependencies (not just runtime).  

This results in a failure, for example not being able to use 

$ jruby -S gem install sensible-cinema --development 

because though all of its development dependencies are jruby friendly, their respective development dependencies are not, and it ends up trying to build binary extensions which don't work, since this is C, but they are for gems that aren't actual development dependencies for sensible-cinema, so I don't need them anyway.

This prevents --development from being useful in this situation.

Suggestion: only install development dependencies' run-time dependencies if --development is passed.
Thanks.
-r

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

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


More information about the Rubygems-developers mailing list