Difference between add_dependency and add_runtime_dependency?

前端 未结 1 1857
情话喂你
情话喂你 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)
提交回复
热议问题