Rails Assets Pipeline Pre-compiling Error
I have difficulty with hours spent on this problem. I am using Ruby 1.9.3
and rake 10.1.0 `bundle exec rake assets:precompile' is succesfully done
in my remote server (EC2), but it generates an error when it is run in
localhost. Both EC2 and localhost are sync-ed since the EC2 one is a
remote repo that changes only when I push from localhost. I suspect it
comes from the rake, but bundle install and bundle update gave nothing.
Here is the log:
(in c:/rails/playbadminton/app/assets/javascripts/application.js.coffee)
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-2.0.0/lib/execjs/ext
ernal_runtime.rb:142:in `exec_runtime'
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-2.0.0/lib/execjs/ext
ernal_runtime.rb:28:in `block in exec'
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-2.0.0/lib/execjs/ext
ernal_runtime.rb:41:in `compile_to_tempfile'
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-2.0.0/lib/execjs/ext
ernal_runtime.rb:27:in `exec'
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-2.0.0/lib/execjs/ext
ernal_runtime.rb:19:in `eval'
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-2.0.0/lib/execjs/ext
ernal_runtime.rb:33:in `call'
-------cut to make it short ------
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/applic
ation.rb:78:in `block in run'
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/applic
ation.rb:165:in `standard_exception_handling'
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/applic
ation.rb:75:in `run'
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/bin/rake:33:in
`<top (required)>'
c:/RailsInstaller/Ruby1.9.3/bin/rake:23:in `load'
c:/RailsInstaller/Ruby1.9.3/bin/rake:23:in `<main>'
Tasks: TOP => assets:precompile:primary
rake aborted!
Command failed with status (1): [c:/RailsInstaller/Ruby1.9.3/bin/ruby.exe
c...]
Thanks for helping....
No comments:
Post a Comment