【问题标题】:How to determine which ruby gem version is actually in use如何确定实际使用的是哪个 ruby​​ gem 版本
【发布时间】:2013-06-02 21:55:09
【问题描述】:

我正在 Heroku Celadon Cedar 堆栈上使用 Unicorn 进行一些负载测试,我需要知道我使用的是哪个版本的 unicorn。我刚刚将gem 'unicorn' 包含在Gemfile 中。

有没有知道独角兽版本号的?

编辑

我正在使用 JRuby

【问题讨论】:

    标签: heroku rack unicorn


    【解决方案1】:

    运行

    bundle list | grep unicorn
    

    它会显示 gem 版本号。

    【讨论】:

    • 我目前正在使用 JRuby,我得到“您的 Ruby 引擎是 ruby​​,但您的 Gemfile 指定了 jruby”。添加编辑
    • 解决了这个问题。谢谢:)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-09-14
    • 2014-03-23
    • 1970-01-01
    • 1970-01-01
    • 2020-08-04
    • 2023-03-25
    • 2012-05-02
    相关资源
    最近更新 更多