好的,我刚刚创建了一个新项目。我做了捆绑安装。Rails 服务器将无法启动。它给了我这一切:
/usr/local/Cellar/ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11/lib/mysql2.rb:9:in require': dlopen(/usr/local/Cellar/ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib (LoadError)
Referenced from: /usr/local/Cellar/ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle
Reason: image not found - /usr/local/Cellar/ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle
from /usr/local/Cellar/ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11/lib/mysql2.rb:9:in
'来自/usr/local/Cellar /ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.3.0/lib/bundler/runtime.rb:72:in require'
from /usr/local/Cellar/ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.3.0/lib/bundler/runtime.rb:72:in
block (2 levels) in require' from /usr/ local/Cellar/ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.3.0/lib/bundler/runtime.rb:70:in each'
from /usr/local/Cellar/ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.3.0/lib/bundler/runtime.rb:70:in
block in require' from /usr/local /Cellar/ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.3.0/lib/bundler/runtime.rb:59:in each'
from /usr/local/Cellar/ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.3.0/lib/bundler/runtime.rb:59:in
require'来自/usr/local/Cellar/ ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.3.0/lib/bundler.rb:132:in require'
from /Users/foximusprime/Sites/simple_cms/config/application.rb:7:in
'来自/usr/local/Cellar/ruby/1.9.3- p392/lib/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/commands.rb:53:inrequire'
from /usr/local/Cellar/ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/commands.rb:53:in
tap'
from /usr/local/Cellar/ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/commands.rb:50:in
从 /usr/local/Cellar/ruby/1.9.3-p392/lib/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/commands.rb:50:in中阻止脚本/rails:6:in require'
from script/rails:6:in
'
我不知道是怎么回事。就在一个小时前,服务器还在工作。关闭一切,下班回家,现在它给了我所有这些垃圾。我不知道该怎么做。