开发者

gem install sinatra keeps fetching wrong version

开发者 https://www.devze.com 2022-12-25 07:40 出处:网络
when i type \"ge开发者_高级运维m install sinatra\" it keeps pulling 0.9.4 instead of the new 1.0

when i type "ge开发者_高级运维m install sinatra" it keeps pulling 0.9.4 instead of the new 1.0

why does this happen?


gem update --system
gem install sinatra


Have you tried turning it off and on again?

gem uninstall sinatra
gem install sinatra

Or updating the specific gem?

gem update sinatra

Alternatively, you can try:

gem install --pre sinatra

But that gets you the 1.0.b version (beta version, I think), not the actual 1.0 release.

0

精彩评论

暂无评论...
验证码 换一张
取 消