事件: 使用locomotive项目时, Gemfile里引用了rails 3.0.8 和haml, 引发了"cannot modify safebuffer in place"错误. 原因: haml碰到不稳定的rails版本 解决方案: 1. 降低rails 版本到3.0.7