【问题标题】:How to revert back changes in gems如何恢复宝石中的更改
【发布时间】:2014-04-15 00:32:58
【问题描述】:

所以我在调试本地安装的 gem:

/Users/myUser/.rvm/gems/ruby-1.9.3-p484@12wbt-engine/gems/locomotive_liquid-2.4.2

现在我删除了这个文件夹。因此我想知道是否有任何方法可以恢复它?

不起作用:

bundle install
bundle update

【问题讨论】:

    标签: ruby gem bundle


    【解决方案1】:

    你需要的是gem pristine

    例如:

    gem pristine locomotive_liquid
    

    【讨论】:

      【解决方案2】:

      试试:

      gem uninstall locomotive_liquid
      bundle install 
      

      【讨论】:

        猜你喜欢
        • 2014-03-28
        • 1970-01-01
        • 1970-01-01
        • 2013-07-03
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-03-17
        相关资源
        最近更新 更多