我想讓rails在solaris 10機器(SPARC)上運行。我已經安裝了ruby和rails,並且能夠創建一個新項目。當我嘗試啓動鐵路服務器,我得到:適用於SPARC Solaris 10的rails的任何JavaScript運行時?
/export/home/eseifert/lib/ruby/gems/1.9.1/gems/execjs-1.2.9/lib/execjs/runtimes.rb:47:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
我有我的Linux機器上之前碰到了這一點,所以我去安裝therubyracer,沒有工作,然後試圖node.js的,這也不起作用。看來這些不支持SPARC。是否有人知道可以在SPARC機器上運行的JavaScript運行時?
那麼我能夠通過註釋Gemfile中的coffee-script和uglifier gem來啓動WEBRick服務器,從而消除對js運行時的需求。請參閱:[鏈接](http://stackoverflow.com/questions/6075961/problem-deploying-rails-3-1-project-to-heroku-could-not-find-a-javascript-runtim)。任何人都可以告訴我,如果沒有JavaScript運行時,我正在丟失什麼? –