2012-03-20 94 views
0

我克隆了git repo並放置在我的nginx安裝的文檔根目錄下。但是,當我運行http://localhost/ember.js/tests/index.html?package=ember-runtime,收到以下錯誤:如何在像nginx/apache這樣的網絡服務器上運行emberjs測試?

Uncaught The module 'handlebars' could not be found, http://localhost/ember.js/tests/minispade.js:39 
Source:  
    at Object.<anonymous> (http://localhost/ember.js/tests/qunit/qunit.js:832:4) 

反正是有,而無需安裝整個紅寶石基礎設施上運行的測試?

回答

1

Handlebars不是Ruby,它是一個JavaScript庫。我不確定爲什麼你認爲你需要在你發佈的輸出中輸入Ruby。

...

望着文檔,它看起來像測試需要耙管道寶石。所以是的,你需要安裝Ruby。如果您在Mac或Linux上,我建議使用RVM。

+0

謝謝。我最終在debian上安裝了使用RVM的ruby。 – Shoan 2012-03-22 09:57:27

相關問題