2016-02-29 30 views
1

您好我的Linux是虛擬機。當我在製作heroku時運行rake db:種子清理並關閉。我再次運行後,當我嘗試種子的Heroku我得到:Heroku在linux虛擬機崩潰後停止工作

[email protected]:~/rails_pro/vofr$ heroku run 
! Error in heroku-run: 
! Cannot read property 'filter' of undefined 
! See /home/saasbook/.heroku/error.log for more info. 

這是我的錯誤日誌:

2016/02/29 17:23:27 heroku-cli: Installing core plugins... 
NULNULNULNULNULNUL.....NUL 

29 21:26:16 Error during run:null 
2016/02/29 21:26:16 TypeError: Cannot read property 'filter' of undefined 
    at [eval]:36:28 
    at Object.exports.runInThisContext (vm.js:54:17) 
    at Object.<anonymous> ([eval]-wrapper:6:22) 
    at Module._compile (module.js:413:34) 
    at node.js:544:27 
    at _combinedTickCallback (node.js:370:9) 
    at process._tickCallback (node.js:401:11) 

回答

2

在我完全去除的Heroku結束結束。

sudo apt-get --purge remove heroku 
sudo apt-get --purge remove heroku-toolbelt 
rm -rf /usr/local/heroku 
rm -rf ~/.heroku 

然後:

wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh 
heroku --version