I have somre problem in the installation
How can i reinstall it or fix it?
Many thanks in advance,
pd. by the way I am just starting to lear ruby on rails
user-macbook:simple_cms user$ rails generate
/Library/Ruby/Gems/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle:
dlopen(/Library/Ruby/Gems/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle,
9): Library not loaded: libmysqlclient.18.dylib (LoadError)
Referenced from:
/Library/Ruby/Gems/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle
Reason: image not found -
/Library/Ruby/Gems/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle
from /Library/Ruby/Gems/1.8/gems/mysql2-0.3.11/lib/mysql2.rb:9
from /Library/Ruby/Gems/1.8/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `each'
from /Library/Ruby/Gems/1.8/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
from /Library/Ruby/Gems/1.8/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
from /Users/carlosvelazquez/Sites/simple_cms/config/application.rb:7
from /Library/Ruby/Gems/1.8/gems/railties-3.2.3/lib/rails/commands.rb:24:in `require'
from /Library/Ruby/Gems/1.8/gems/railties-3.2.3/lib/rails/commands.rb:24
from script/rails:6:in `require'
from script/rails:6
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Evan Phoenix on 29 Apr, 2012 08:32 PM
You need to contact the gem's author directly. We only assist with rubygems the software itself. It appears that you're missing the libmysqlclient library from your system.
Evan Phoenix closed this discussion on 29 Apr, 2012 08:32 PM.
cvelzen re-opened this discussion on 29 Apr, 2012 09:01 PM
3 Posted by cvelzen on 29 Apr, 2012 09:01 PM
O.k let me try to reinstall mysql or ruby thanks
Nick Quaranto closed this discussion on 04 Aug, 2012 05:38 PM.