Could not find thread_safe-0.3.0 in any of the sources

前端 未结 4 391
旧巷少年郎
旧巷少年郎 2021-01-01 08:45

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

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

bundle insta         


        
相关标签:
4条回答
  • 2021-01-01 09:00

    As dreamnid said, "Look like they yank the 0.3.0 build a few hours ago to troubleshoot a build issue".

    Try to run gem uninstall thread_safe (to remove yanked version) and later bundle update to install the correct versions.

    0 讨论(0)
  • 2021-01-01 09:12

    I had the same problem. I took mat_jack1's advice, but I also ran "bundle update thread_safe". That resolved the issue for me.

    0 讨论(0)
  • 2021-01-01 09:13

    I was experiencing the same problem.

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

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

    I solved the problem with this line in my Gemfile:

    gem 'thread_safe', '0.2.0'
    
    0 讨论(0)
  • 2021-01-01 09:18

    Running:

    bundle update
    

    Fixed the issue for me, with the message: "Using thread_safe 0.2.0 (was 0.3.0)"

    0 讨论(0)
提交回复
热议问题