在任何来源中都找不到thread_safe-0.3.0 [英] Could not find thread_safe-0.3.0 in any of the sources

查看:56
本文介绍了在任何来源中都找不到thread_safe-0.3.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Rails应用中运行捆绑安装时出现此错误,

I get this error while running bundle install in a rails app,

我认为最新版本是0.2.0 ...有人可以帮我吗?

I thought the latest version is 0.2.0...could anybody help me out on this?

bundle install
Fetching gem metadata from https://rubygems.org/..........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Could not find thread_safe-0.3.0 in any of the sources

推荐答案

我遇到了同样的问题.

thread_safe gem版本0.3.0已从Ruby Gems中删除: http://rubygems.org /gems/thread_safe/versions

The thread_safe gem version 0.3.0 has been yanked now from Ruby Gems: http://rubygems.org/gems/thread_safe/versions

因此,您可能想在Gemfile中指定其他版本,或者可以将Gemfile直接指向GitHub.

So you might want to specify a different version in your Gemfile, or you can point the Gemfile directly to GitHub.

我在Gemfile中解决了这一行的问题:

I solved the problem with this line in my Gemfile:

gem 'thread_safe', '0.2.0'

这篇关于在任何来源中都找不到thread_safe-0.3.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆