当我启动瘦服务器时,我得到以下信息
=> Booting Thin
=> Rails 3.2.13 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Called 'load' without the :safe option -- defaulting to safe mode.
>> Thin web server (v1.5.1 codename Straight Razor)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3001, CTRL+C to stop
我确认上述警告来自 safe_yaml gem,我像这样配置我的 yml 文件
YAML.load_file("test.yml", :safe => true)
但我仍然收到上述警告信息,如何防止它?