ruby - Can't get 'mysql' gem to work after installing Yosemite -
I installed Yosmith last night and found that mysql was de-installed in this process. I am from MISQL website The DMG file is downloaded, it is restored, it has started, there is no problem.
However, when working on the SackRata project, the 'Rake DB: Migrate' is being run to regenerate the database but I found the following:
sh-3.2 $ rake dB: Uninstall the rack! Load Errors: Dlopen (/usr/local/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-13/2.1.0-static/mysql-2.9.1/mysql/mysql_api.bundle, 9): Library Not Loaded: Referenced by libmysqlclient.18.dylib: /usr/local/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-13/2.1.0-static/mysql-2.9.1/mysql/ Mysql_api.bundle Reason: Image not found - /usr/local/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-13/2.1.0-static/mysql-2.9.1/mysql/mysql_api.bundle/ User / Identification /Documents/ios/projects/GagnonPhoto/app.rb:1:in 'On Top (Required) & gt; / User / identity / document / iOS / project / Gagan photo / rackfile: 1: in `& lt; Top (required) & gt; 'Load ear: Such a file can not be loaded - mysql / 2.1 / mysql_api / users / darter / documents / dew / projects / gagnonphoto / app RBI: & lt; Top (required) & gt; / User / identity / document / iOS / project / Gagan photo / rackfile: 1: in `& lt; Top (required) & gt; 'Load ear: Can not load such a file - mysql / users / darter / documents / dew / projects / gagnanphoto / app RBI: & lt; Top (required) & gt; '/ User / identity / document / iOS / project / Gagan photo / rackfile: 1: in `& lt; Top (required) & gt; '(Full address of working with --trace)
If I run irb and type:' mysql 'is required I
< P> It seems that mysql install is missing something, but I'm not sure what happened. Any clue appreciated so much.
Comments
Post a Comment