How to tell which version of a gem a rails app is using

后端 未结 15 1173
生来不讨喜
生来不讨喜 2020-12-13 11:32

I\'m investigating a rails app - the prod server has two version of a specific gem installed, how can I tell which version the prod app is using?

15条回答
  •  没有蜡笔的小新
    2020-12-13 12:17

    In Rails 3 and Rails 4, use bundle show

    In Rails 2, rake gems will print out what gems, dependencies, and versions are installed, frozen, etc.

提交回复
热议问题