這已經讓我一整天都在害我。我有一個Rails應用程序,我從3.2升級到4.0.13,在開發中工作正常。在軌道4的測試,我對集成測試整體轉換得到 ExecJS::ProgramError: ReferenceError: CoffeScript is not defined 。我沒有明確地打電話或者使用ExecJS,它似乎是通過coffee-script調用的,然後通過coffee-rails調用。
我更新了我的約塞米蒂昨天MAC找到節點,從此我的導軌不能編譯JavaScript中,出現錯誤: ExecJS::RuntimeError in Home#index
Showing /Users/wilkerlucio/Development/hpb/app/views/layouts/application.html.slim where line #35 raised:
sh: node
我無法啓動導軌服務器。顯然,我沒有JavaScript運行時。 $ rails s
c:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:94:in `rescue in block (2 levels) in require': There was an error while trying to lo