[英]Cannot install sprockets gem - ruby on rails
我不小心使用此命令在終端中卸載了鏈輪寶石
'寶石卸載鏈輪2.12.3'
當我嘗試使用此命令再次安裝它時:
'寶石安裝鏈輪2.12.3'
我收到此消息:
'錯誤:執行gem時...(Gem :: RemoteFetcher :: FetchError)Errno :: ETIMEDOUT:操作超時-“ au-m.rubygems.org”端口443( https:// api。 rubygems.org/quick/Marshal.4.8/sprockets-2.12.3.gemspec.rz )'
我想知道是否有人知道我需要做些什么來糾正此問題?
非常感謝。
au-m.rubygems.org
可能暫時關閉。
試試吧。
$ gem source --remove https://rubygems.org/
$ gem source --add https://tokyo-m.rubygems.org/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.