Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load optional dependencies group from daru-io Gemfie #7

Open
athityakumar opened this issue Aug 5, 2017 · 2 comments
Open

Load optional dependencies group from daru-io Gemfie #7

athityakumar opened this issue Aug 5, 2017 · 2 comments

Comments

@athityakumar
Copy link
Collaborator

Currently, all IO related gems like spreadsheet, jsonpath, etc. are grouped under the optional group of Gemfile. They were intended to be here and not in the gemspec file due to partial-requiring use-cases. Have a look at SciRuby/daru-io#25 for more details.

Rather than adding all these dependencies to this Rails app's Gemfile, would it be possible (and better) to add the gems from daru-io's Gemfile?

Ping @Shekharrajak

@Shekharrajak
Copy link
Owner

They were intended to be here and not in the gemspec file due to partial-requiring use-cases.

@athityakumar, I didn't understand this.

@athityakumar
Copy link
Collaborator Author

The format-specific dependencies are specified in the Gemfile and not into the gemspec file. That way, a daru-io user will run gem install daru-io and only install daru-io, whereas a daru-io developer will run bundle install and install all the dependencies being used.

Currently, all dependencies are specified in the Gemfile. It'd be better if we could add them all together rather than adding them one by one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants