简体   繁体   English

红宝石取决于......旧宝石版

[英]ruby depends on… old gem version

I work at spree app( v. 0.70.5 ), but I need to install some gem which depends on spree v. 0.70.0 . 我在spree应用程序( v. 0.70.5 )工作,但我需要安装一些依赖于spree v. 0.70.0 This app already work at production and I don't know can I rollback spree version (to 0.70.0 ) or not. 这个应用程序已经在生产中工作,我不知道我可以回滚狂欢版本(至0.70.0 )或不。

How I can solve this problem? 我怎么能解决这个问题?

Take a look at the change log between the versions, if nothing jumps at you, try using 0.70.0 看看版本之间的更改日志,如果没有任何内容跳过,请尝试使用0.70.0

gem "spree", "0.70.0"

and test your app 并测试你的应用程序

Alternatively you can fork the gem that has dependency on the older version of spree and try to upgrade it 或者,您可以分叉依赖于旧版本spree的gem并尝试升级它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM