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

Skip to first unread message


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 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: . 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
0 new messages