Difference between add_dependency and add_runtime_dependency?

前端 未结 1 1863
情话喂你
情话喂你 2021-02-03 20:48

What is the difference between using add_dependency and add_runtime_dependency in a Rails engine\'s gemspec?

For example:

Gem::         


        
相关标签:
1条回答
  • 2021-02-03 21:35

    They are the same. add_dependency is just an alias for add_runtime_dependency.

    0 讨论(0)
提交回复
热议问题