Personnel in relation to add_runtime_dependency
, add_dependency
and add_development_dependency
the "Gem Specification", I'm trying to understand them. How they work and how to differentiate them.
When I used the add_development_dependency
, I was unable to observe anything different. When I used the add_dependency
and also the add_runtime_dependency
, the same effect was observed.
It was added to gemfile.lock
as the only dependence of my gem, but not a project dependency. And I would like it to be added as a project dependency, because I think add redundant as a unit of my gem, and dependence of the project, adding it to the Gemfile.
What I do not understand is that if I add the jquery as a unit of my gem, but don't add it directly in the application Gemfile, it is not found. I get the following error.
"could not find file 'jquery'".