【问题标题】:Version numbers of Rails plugins?Rails 插件的版本号?
【发布时间】:2010-02-05 19:11:30
【问题描述】:

是否有标准化的命令来确定插件的版本号,类似于ruby script/about?例如,我需要弄清楚我正在运行哪个版本的exception_notification。这是我的vendor/plugins 目录中的插件列表

active_merchant         annotate_models         calendar_date_select    gruff                   mysql_bigint            routing_navigator       ziya
acts_as_audited         attachment_fu           exception_notification  in_place_editing        redbox                  spawn
acts_as_list            authorization           gemsonrails             make_resourceful        restful_authentication  uml

【问题讨论】:

    标签: ruby-on-rails plugins version


    【解决方案1】:

    我认为exception_notification插件没有任何版本号,除了提交标签,可以在这里看到:

    http://github.com/rails/exception_notification

    但是,大多数较新的插件都有一个 VERSION 文件,您可以读取它。或者,如果您使用的是 gem,您可以通过简单的gem list 找到它的版本,但这应该已经在你的Gemfile 或config/environment.rb

    【讨论】:

      猜你喜欢
      • 2020-08-31
      • 2017-12-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-05-05
      • 1970-01-01
      相关资源
      最近更新 更多