我正在尝试在本地运行 rake 任务,但遇到了一个奇怪的错误。
$ rake alert_notification --trace
** Invoke alert_notification (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute alert_notification
/Users/bendowney/.rvm/gems/ruby-1.9.3-p194@global/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
它显示了正确的宝石组。
据我所知,这不会影响我的 Rails 应用程序的其余部分的工作方式。虽然我并不完全确定。
以及有关如何解决此问题的建议?