Optional Dependencies in Rubygems

C

Chris Carter

Ok, so after the long Hoe discussion, I have decided to add
optional/developer-time dependencies to ruby-gems.

The first implementation will be purely for developer-dependencies,
not for optional "This will be faster with blah blah blah"
dependencies, for the time being, but I do plan to leave the API
addition open enough so other styles of dependencies can be added.

I would like to know what kind of behaviour for installing the
optional dependencies should be. I believe that when normally
installing a gem, it should not prompt you at all to install or warn
of the optional dependencies, because they are developer dependencies.
Ideas for cmd line flags?
 
A

Alex Young

Chris said:
Ok, so after the long Hoe discussion, I have decided to add
optional/developer-time dependencies to ruby-gems.

The first implementation will be purely for developer-dependencies,
not for optional "This will be faster with blah blah blah"
dependencies, for the time being, but I do plan to leave the API
addition open enough so other styles of dependencies can be added.

I would like to know what kind of behaviour for installing the
optional dependencies should be. I believe that when normally
installing a gem, it should not prompt you at all to install or warn
of the optional dependencies, because they are developer dependencies.
Ideas for cmd line flags?
The obvious one: you've already got -y/--include-dependencies, so why
not -Y/--include-all-dependencies (or --include-optional-dependencies)?
I can't think of a situation where you'd want the optional but not the
required dependencies, but being able to list them prior to installing
them would be nice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,222
Messages
2,571,140
Members
47,755
Latest member
Grazynkaa

Latest Threads

Top