0
=> Booting WEBrick
=> Rails 3.1.1 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2012-01-21 12:47:45] INFO WEBrick 1.3.1
[2012-01-21 12:47:45] INFO ruby 1.9.3 (2011-10-30) [x86_64-darwin11.2.0]
[2012-01-21 12:47:45] INFO WEBrick::HTTPServer#start: pid=1612 port=3000
[FATAL] failed to allocate memory
第一次訪問我加gem 'mysql2'
到Gemfile中和database.yml
使用mysql2
適配器。Rails3中應用停止運行時,在Mac
應用程序可以啓動,但是當我訪問http://localhost:3000
,我得到這個錯誤:
[FATAL] failed to allocate memory
任何想法?
見http://stackoverflow.com/questions/7056157/mac-osx-lion-and-ruby-fatal-failed-to-allocate-memory – Lichtamberg