I have somre problem in the installation

cvelzen's Avatar

cvelzen

29 Apr, 2012 08:23 PM

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
  1. Support Staff 2 Posted by Evan Phoenix on 29 Apr, 2012 08:32 PM

    Evan Phoenix's Avatar

    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.

  2. Evan Phoenix closed this discussion on 29 Apr, 2012 08:32 PM.

  3. cvelzen re-opened this discussion on 29 Apr, 2012 09:01 PM

  4. 3 Posted by cvelzen on 29 Apr, 2012 09:01 PM

    cvelzen's Avatar

    O.k let me try to reinstall mysql or ruby thanks

  5. Nick Quaranto closed this discussion on 04 Aug, 2012 05:38 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac