Hi,

Thanks for taking a look at this.

I started a beginner's tutorial on RoR through lynda.com. I followed
the instructions to the letter. Everything was working so far until I
got to accessing Webrick. When I typed in "rails server" to begin
work, I got this error message below.

/Library/Ruby/Gems/1.8/gems/mysql2-0.2.7/lib/mysql2/mysql2.bundle:
dlopen(/Library/Ruby/Gems/1.8/gems/mysql2-0.2.7/lib/mysql2/
mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib
(LoadError)
  Referenced from: /Library/Ruby/Gems/1.8/gems/mysql2-0.2.7/lib/mysql2/
mysql2.bundle
  Reason: image not found - /Library/Ruby/Gems/1.8/gems/mysql2-0.2.7/
lib/mysql2/mysql2.bundle

        from /Library/Ruby/Gems/1.8/gems/mysql2-0.2.7/lib/mysql2.rb:8
        from /Library/Ruby/Gems/1.8/gems/bundler-1.0.12/lib/bundler/
runtime.rb:68:in `require'
        from /Library/Ruby/Gems/1.8/gems/bundler-1.0.12/lib/bundler/
runtime.rb:68:in `require'
        from /Library/Ruby/Gems/1.8/gems/bundler-1.0.12/lib/bundler/
runtime.rb:66:in `each'
        from /Library/Ruby/Gems/1.8/gems/bundler-1.0.12/lib/bundler/
runtime.rb:66:in `require'
        from /Library/Ruby/Gems/1.8/gems/bundler-1.0.12/lib/bundler/
runtime.rb:55:in `each'
        from /Library/Ruby/Gems/1.8/gems/bundler-1.0.12/lib/bundler/
runtime.rb:55:in `require'
        from /Library/Ruby/Gems/1.8/gems/bundler-1.0.12/lib/bundler.rb:120:in
`require'
        from /Users/macuser/Sites/simplecms/config/application.rb:7
        from /Library/Ruby/Gems/1.8/gems/railties-3.0.6/lib/rails/commands.rb:
28:in `require'
        from /Library/Ruby/Gems/1.8/gems/railties-3.0.6/lib/rails/commands.rb:
28
        from /Library/Ruby/Gems/1.8/gems/railties-3.0.6/lib/rails/commands.rb:
27:in `tap'
        from /Library/Ruby/Gems/1.8/gems/railties-3.0.6/lib/rails/commands.rb:
27
        from script/rails:6:in `require'
        from script/rails:6

I'm using a

 - iMac
 - Ruby 1.87
 - Gem 1.7.2

I have been exposed to very little Rails and looking to learn how to
fix this. Your help would be greatly appreciated.

Thanks in advance for your attention and help if possible.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to