当bundle exec rake assets:precompile
在我们的Rails 3.2.8应用程序,它与错误而导致失败:耙资产:预编译失败轨3.2.8在Windows 8
** Execute tmp:cache:clear
** Execute assets:precompile:primary
rake aborted!
(in c:/D/code/rails_proj/biz-tools/app/assets/javascripts/application.js)
c:/Ruby193/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:142:in `exec_runtime'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:28:in `block in exec'
...........
c:/Ruby193/bin/rake:23:in `<main>'
Tasks: TOP => assets:precompile:primary
rake aborted!
Command failed with status (1): [c:/Ruby193/bin/ruby.exe c:/Ruby193/bin/rak...]
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `call'
application.js中只有两个datapicker,它们在启动应用程序时工作正常。什么可能导致这种失败?谢谢。
看起来您可能需要安装'sprockets'(和/或'rake')。 –
安装了链轮和耙子。错误是一样的。 – user938363