2011-12-14 2 views
0

私はスパインとジャガーノートを統合しようとしています。最初に私はfowaブランチ(https://github.com/maccman/spine.rails3/tree/fowa)を複製しようとしましたが、そのブランチをクローンすることができませんので、maccman/spine.rails3の代わりにプッシャー私はジャガーノートを使いました。ジャガーノートのために私は、私はすでに私がNPMスパインとジャガーノートを統合

[email protected]:~$ npm -v 
1.0.106 
をインストール

sudo apt-get install redis-server 

でRedisのサーバーをインストールしmaccman /ジャガーノート(https://github.com/maccman/juggernaut/tree/)

を追いました

npm install -g juggernaut 

npm ERR! Could not create /usr/local/lib/node_modules/___juggernaut.npm 
npm ERR! error installing [email protected] 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!  <[email protected]> 
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 

のために私は、このエラーに

を取得しています

だから、私は私が

について

Starting redis-server: redis-server. 

を取得しています

[email protected]:~$ sudo /etc/init.d/redis-server start 

について

gem install juggernaut 

をしました。その後

npm install juggernaut 
For this I am getting 

[email protected] ./node_modules/juggernaut 
├── [email protected] 
├── [email protected] 
├── [email protected] ([email protected]) 
└── [email protected] 

をしました

[email protected]:~$ juggernaut 

私はそうhttp://localhost:8080 のために、私はRedisのと絶対的な力を設置

Unable to connect error 

を取得しています

juggernaut: command not found 

を取得しています。 localhost:8080を実行すると、エラーが発生します。 私は何が悪いのか分かりません。誰でも私を助けることができます。

答えて

1

私は馬鹿ですが、私はどこにjuggernautサーバーをインストールしたいのですか?その代わりに私は他の場所でセバーバーを始めました。今、私はjuggernautに接続することができます。 http://localhost:8080にアクセスできます。/usr/local/lib/node_modules /ジャガーノートの$の巨人server.js

:今私は

spritleする@ Ubuntuので巨人を開始しました