Suggest how to add runtime dependencies when doing "bundle gem"

27 views
Skip to first unread message

Quest

unread,
Jun 10, 2016, 6:02:52 PM6/10/16
to ruby-bundler
I started my first gem project today, using the excellent `bundle gem` command. However, I had to google around a bit (e.g. "gemfile vs gemspec") and eventually resorted to reading http://guides.rubygems.org/specification-reference/ in order to figure out how to add dependencies. I would have been much helped by some indication in the gemspec as to how to add runtime dependencies.

The minimal PR that would have pointed me in the right direction quickly would look like this: https://github.com/bittrance/bundler/commit/a41d0112e495017478562b81243bd100a994d7b9 . Alternatively, bundle gem could grow a --dep <name>:<version> or similar.

Does this seem worthwhile to the community? If so, I will submit a PR.
Reply all
Reply to author
Forward
0 new messages