【发布时间】:2013-08-10 17:47:13
【问题描述】:
我正在尝试在 Heroku 上创建一个基本的狂欢应用程序。我正在关注 http://railsapps.github.io/rails-heroku-tutorial.html 和大礼包 heroku 指南。
我已编辑 config/application.rb 以包含 config.assets.initialize_on_precompile = false
然后,因为我需要在推送到 Heroku 之前进行预编译,所以我卡在这里:
D:\code\foo>rake assets:precompile --trace
** Invoke assets:precompile (first_time)
** Execute assets:precompile
d:/RailsInstaller/Ruby1.9.3/bin/ruby.exe d:/RailsInstaller/Ruby1.9.3/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace
** Invoke assets:precompile:all (first_time)
** Execute assets:precompile:all
** Invoke assets:precompile:primary (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke tmp:cache:clear (first_time)
** Execute tmp:cache:clear
** Execute assets:precompile:primary
rake aborted!
Error: Out of stack space
(in D:/code/foo/app/assets/javascripts/admin/all.js)
d:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-.4.0/lib/execjs/external_runtime.rb:68:in `extract_result'
...much more...
all.js 资产与原始安装保持不变:
跑步
耙资产:清洁
在预编译之前为其他人解决了这个问题,但不是为我。
浏览它看起来这可能是特定于 Windows 的问题?如果重要的话,我使用的是 railsinstaller,并且我在相当新的笔记本电脑上运行 Windows 7。
【问题讨论】:
标签: ruby-on-rails heroku spree