服务器都启动了。。。我还以为没有问题了呢。。结果 哪位大神帮帮忙啊 不仅感激
刚刚是截的图片 还是把代码粘上来吧
SocketError in Home#index
Showing /home/duan/Documents/Aptana Studio 3 Workspace/ruby-china/app/views/home/index.html.erb where line #1 raised:
getaddrinfo: No address associated with hostname Extracted source (around line #1):
1: <%= raw SiteConfig.index_html %> 2: <% content_for :styles do %> 3: <%= stylesheet_link_tag "home" %> 4: <% end %> Rails.root: /home/duan/Documents/Aptana Studio 3 Workspace/ruby-china
Application Trace | Framework Trace | Full Trace app/models/site_config.rb:48:in find_by_key' app/models/site_config.rb:33:inblock in method_missing' app/models/site_config.rb:32:in rescue in method_missing' app/models/site_config.rb:19:inmethod_missing' app/views/home/index.html.erb:1:in `app_views_home_index_html_erb__375013212_85232000'
find_by_key' app/models/site_config.rb:33:in
rescue in method_missing' app/models/site_config.rb:19:in
@huacnlee 内个。。。有时间的话,能帮看看么,我全都装好了 在 rails s 后,运行 0.0.0.0:3000 后出现的这个错误,先谢谢了!
问题已经解决!我没有启动 redis 服务,低级错误啊。。。。