0
我想讓我的導軌環境工作在最新的mac操作系統的mac上。我有紅寶石安裝...Gem安裝導軌拋出UnknownHostError
ruby -v
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]
當我試圖啓動一個軌道服務器我得到這個消息...
rails -s
Rails is not currently installed on this system. To get the latest version, simply type:
$ sudo gem install rails
You can then rerun your "rails" command.
於是我運行「sudo的創業板安裝導軌」,並獲得... 。
ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
no such name (https://api.rubygems.org/gems/thread_safe-0.3.4.gem)
我該如何解決這個錯誤?
有類似的錯誤。我從字面上重新運行了相同的命令,它工作。不知道爲什麼:http://i.imgur.com/MIWkQyY.jpg – 2014-12-01 20:09:57
他們有一些DNS問題,你可以在他們的twitter中看到https://twitter.com/rubygems_status – Shibi 2014-12-01 20:16:21
@Shibi:謝謝我以爲我瘋了: ) – HelloWorld 2014-12-01 21:19:35