我正在尝试将 Spine 与 Juggernaut 集成。首先,我尝试克隆 fowa 分支(https://github.com/maccman/spine.rails3/tree/fowa),但我无法克隆该分支,所以我自己在 maccman/spine.rails3 之后做应用程序而不是Pusher 我用的是剑圣。对于剑圣,我跟随 maccman/Juggernaut (https://github.com/maccman/juggernaut/tree/)
我安装了redis服务器
sudo apt-get install redis-server
我已经安装了 npm
spritle@ubuntu:~$ npm -v
1.0.106
为了
npm install -g juggernaut
npm ERR! Could not create /usr/local/lib/node_modules/___juggernaut.npm
npm ERR! error installing juggernaut@2.1.0 Error: EACCES, Permission denied '/usr/local/lib/node_modules/___juggernaut.npm'
npm ERR! Error: EACCES, Permission denied '/usr/local/lib/node_modules/___juggernaut.npm'
npm ERR! Report this *entire* log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR!
npm ERR! System Linux 2.6.32-21-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "juggernaut"
npm ERR! cwd /home/spritle
npm ERR! node -v v0.5.5-pre
npm ERR! npm -v 1.0.106
npm ERR! path /usr/local/lib/node_modules/___juggernaut.npm
npm ERR! code EACCES
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/spritle/npm-debug.log
npm not ok
我收到此错误
所以我做了
npm install juggernaut
For this I am getting
juggernaut@2.1.0 ./node_modules/juggernaut
├── redis@0.6.6
├── node-static-maccman@0.5.3
├── optimist@0.2.8 (wordwrap@0.0.2)
└── socket.io@0.8.6
之后我做了
gem install juggernaut
为了
spritle@ubuntu:~$ sudo /etc/init.d/redis-server start
我正进入(状态
Starting redis-server: redis-server.
为了
spritle@ubuntu:~$ juggernaut
我正进入(状态
juggernaut: command not found
所以因为http://localhost:8080
我得到
Unable to connect error
我安装了redis和juggernaut。当我运行 localhost:8080 时出现错误。我不知道我做错了什么。任何人都可以帮助我。