Runtime dependencies are the gems required by your gem during its runtime,
ie, the gems without which your gem can't work. Development dependencies
are those which are required only while developing the gem (example: rspec,
pry ) . When you do gem install <gemname> or when bundler installs your
gem
for you, only the runtime dependencies will be installed and not the
development dependencies.
Also , add_dependency = add_runtime_dependency .
On 5 May 2014 12:56, Jason Hsu, Rubyist
<jhsu802701-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> There are runtime dependencies, development dependencies, and unlabeled
> dependencies ("add_dependency").
>
> What exactly are the differences among these dependencies? When do you
> make a dependency a runtime dependency only? When do you make it a
> development dependency only? And does "add_dependency" make it a
runtime
> and development dependency?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/rubyonrails-talk/38f141bc-98de-43de-b1fb-3e319cb44116%40googlegroups.com<https://groups.google.com/d/msgid/rubyonrails-talk/38f141bc-98de-43de-b1fb-3e319cb44116%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/CAJ%3Dox-Bog0d1HQ-cKT6YstHWdhdJAw-aK%2BfVkoz42OAYCXu-%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.