我有麻烦了:)
我试图用 rails 3.2.1 和 coffee-rails 3.2.2 部署一个应用程序,但是当资产编译发生时,我得到一个内部错误
*** [out :: ] Compiling: coffee-script.js
*** [err :: ] rake aborted!
*** [err :: ]
*** [err :: ] InternalError: too much recursion
*** [err :: ] (in ~/project/shared/bundle/ruby/1.9.1/gems/coffee-rails-3.2.2/lib/assets/javascripts/coffee-script.js.erb)
*** [err :: ]
*** [err :: ]
*** [err :: ] Tasks: TOP => assets:precompile:primary
*** [err :: ]
*** [err :: ] (See full trace by running task with --trace)
我在本地尝试过(rake assets:precompile RAILS_ENV=development --trace),他不哭……
有人可以帮忙吗?
更新:
我已经尝试在生产环境中编译 => rake assets:precompile RAILS_ENV=production --trace 并且它再次工作......