我正在尝试使用最新的mac OS让我的rails环境在Mac上工作。我安装了红宝石......
ruby -v
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]
当我尝试启动rails服务器时,我收到此消息......
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 gem install rails'得到....
ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
no such name (https://api.rubygems.org/gems/thread_safe-0.3.4.gem)
我如何解决此错误?
答案 0 :(得分:0)
rubygems的DNS问题现已解决,所以一切都很好,再次感谢Shibi进行状态更新!