我試圖在本地運行rake任務,並且出現一個奇怪的錯誤。Rake任務會破壞我的Ruby ...壞Rake任務
$ rake alert_notification --trace
** Invoke alert_notification (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute alert_notification
/Users/bendowney/.rvm/gems/[email protected]/bin/rake(65399,0x7fff73799960) malloc: *** error for object 0x8: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
奇怪的是,我沒有使用給定的gemset(@globaL)。當我運行 $ rvm gemset list
它顯示正確的gemset。
據我所知,這並不影響我的其他應用程序的工作方式。雖然我不完全確定。
並建議如何解決這個問題?
在rails dir中是否有任何.rvmrc文件? – PriteshJ 2012-07-26 17:17:07
應用程序的根目錄中有一個.rvmrc文件。 – 2012-07-26 17:21:14