简体   繁体   English

如何将 Rack 降级到 2.0.8

[英]How to downgrade Rack to 2.0.8

I am using Administrate in my rails app, it is upgraded from 0.9.0 to 0.15.0 version.我在我的 Rails 应用程序中使用 Administrate,它从 0.9.0 升级到 0.15.0 版本。 After that rack is upgraded to 2.2.3 as following.将该rack升级到 2.2.3 后,如下所示。 I also using grape and wine_bouncer with Doorkeeper for authorization.我还使用带有 Doorkeeper 的葡萄和 wine_bouncer 进行授权。 wine_bouncer requires Grape > 0.10 and < 1.2 Due to this incompatible version issue, I want to keep my rack version as 2.0.8 and grape is 1.2.5. wine_bouncer需要Grape > 0.10 和 < 1.2由于这个不兼容的版本问题,我想保持我的机架版本为 2.0.8,葡萄为 1.2.5。 How can I force rack down to 2.0.8?如何强制机架降到 2.0.8? I don't see rack in gemfile.我没有在 gemfile 中看到 rack 。

Add to Gemfile gem 'rack', '= 2.0.8' and after run bundle command.添加到 Gemfile gem 'rack', '= 2.0.8'并在运行bundle命令之后。 Now rack version is 2.0.8现在机架版本是 2.0.8

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

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