随笔分类 - Ruby On Rails
摘要:at the first,record this:root@xxx:~/hexo# hexo server[error] Error: listen EADDRINUSEError: listen EADDRINUSE at errnoException (net.js:901:11) at Server._listen2 (net.js:1039:14) at listen (net.js:1061:10) at Server.listen (net.js:1135:5) at Function.app.listen (/root/.nvm/v0.10.25/l...
阅读全文
摘要:目录:1.安装git、nvm、node.js2.安装Hexo遇到npm的问题-及解决办法3.初步安装完成Hexo============================安装git、nvm、node.js要安装hexo,根据官网文档进行安装:http://zespia.tw/hexo/docs/index.html1. install git先update一下:sudo apt-get update再 安装git: sudo apt-get install git-core2.install node.js两种方式:curl https://raw.github.com/creationix/n
阅读全文
摘要:在进行Rspec 编译测试:bundle exec rspec spec/requests/static_pages_spec.rb提示错误:FFFailures: 1) Static pages Home page should have the content 'Sample App' Failure/Error: visit '/static_pages/home' NoMethodError: undefined method `visit' for # # ./spec/requests/static_pages_spec.rb:5:in `b
阅读全文

浙公网安备 33010602011771号