2013-02-18 2 views
1

rake 자산을 실행해야합니다 : 랙 공간 서버에 배포하기 전에 프리 컴파일 명령을 내려야합니다. 최근 보안 패치 및 업그레이드 된 JSON GEM으로 레일스 버전이 3.2.9에서 3.2.11로 업그레이드되었습니다.rake assets 프리 컴파일이 레일로 중단되었습니다. 3.2.11

다음 오류가 발생하고 레이크 중단됩니다.

$> rake assets:precompile --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 environment (first_time) 
** Execute environment 
** Invoke tmp:cache:clear (first_time) 
** Execute tmp:cache:clear 
** Execute assets:precompile:primary 

rake aborted! 
Command failed with status(): [/usr/local/rvm/rubies/ruby-1.9.3-p385/bin/...] 
/usr/local/rvm/gems/[email protected]/gems/rake-10.0.3/lib/rake /file_utils.rb:53:in `block in create_shell_runner' 
/usr/local/rvm/gems/[email protected]/gems/rake-10.0.3/lib/rake/file_utils.rb:45:in `call' 
/usr/local/rvm/gems/[email protected]/gems/rake-10.0.3/lib/rake/file_utils.rb:45:in `sh' 
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/actionpack-3.2.11/lib/sprockets/assets.rake:12:in `ruby_rake_task' 
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/actionpack-3.2.11/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task' 
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/actionpack-3.2.11/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>' 
/usr/local/rvm/gems/[email protected]/gems/rake-10.0.3/lib/rake/application.rb:160:in `standard_exception_handling' 
/usr/local/rvm/gems/[email protected]/gems/rake-10.0.3/lib/rake/application.rb:70:in `run' 
/usr/local/rvm/gems/[email protected]/gems/rake-10.0.3/bin/rake:33:in `<top (required)>' 
/usr/local/rvm/gems/[email protected]/bin/rake:19:in `load' 
/usr/local/rvm/gems/[email protected]/bin/rake:19:in `<main>' 
/usr/local/rvm/gems/ruby-1.9.3-p385/bin/ruby_noexec_wrapper:14:in `eval' 
/usr/local/rvm/gems/ruby-1.9.3-p385/bin/ruby_noexec_wrapper:14:in `<main>' 
Tasks: TOP => assets:precompile 

이 문제를 해결할 수있는 방법이 있습니까?

답변

2

메모리 문제 일 수 있습니까? VPS에서 RAM 업그레이드 시도

+0

예, RAM 크기가 최대 1GB까지 증가합니다. 감사. – prabu

관련 문제