From: Josh Cheek Date: 2013-04-05T21:31:49+09:00 Subject: Re: Role of bundler in creating and installing a gem --f46d040890c11f2fc604d99c4540 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Apr 5, 2013 at 7:15 AM, Jon Cairns wrote: > > Here is an example of a Gemfile and gemspec where you can see how I do > > it. > > > https://github.com/JoshCheek/mountain_berry_fields... > > https://github.com/JoshCheek/mountain_berry_fields... > > That makes sense, thanks. > > Incidentally, what's the difference between `add_dependency` and > `add_runtime_dependency`? Is there a difference at the point of > installing a gem? > > There isn't one https://github.com/rubygems/rubygems/blob/e15f37c3a5918e2403a191a1c3ae9966fc835cf9/lib/rubygems/specification.rb#L1247 I'd go with add_runtime_dependency, though, since it's more explicit and in the docs: http://guides.rubygems.org/specification-reference/#add_runtime_dependency -Josh --f46d040890c11f2fc604d99c4540 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Fri, Apr 5, 2013 at 7:15 AM, Jon Cairns <lists@ruby= -forum.com> wrote:
> Here is an example of a Gemfile and= gemspec where you can see how I do
> it.

> https://github.com/JoshCheek/mountain_berry_fields...=
> https://github.com/JoshCheek/mountain_berry_fields...

That makes sense, thanks.

Incidentally, what's the difference between `add_dependency` and
`add_runtime_dependency`? Is there a difference at the point of
installing a gem?

--f46d040890c11f2fc604d99c4540--