Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #7108
| Newsgroups | comp.lang.ruby |
|---|---|
| Date | 2015-04-18 06:20 -0700 |
| Message-ID | <97a2987b-ada3-4940-b01b-b91c0005b3fc@googlegroups.com> (permalink) |
| Subject | 2.1.5 & require 'mysql2' |
| From | beerich@gmail.com |
Hi folks. Well, got the version stuff fixed by starting from scratch. Now I have an issue loading a ruby file that throws an error on "require 'mysql2'". /Users/rich/.rvm/gems/ruby-2.1.5/gems/mysql2-0.3.18/lib/mysql2.rb:31:in `require': dlopen(/Users/rich/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-14/2.1.0-static/mysql2-0.3.18/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib (LoadError) Referenced from: /Users/rich/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-14/2.1.0-static/mysql2-0.3.18/mysql2/mysql2.bundle Reason: image not found - /Users/rich/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-14/2.1.0-static/mysql2-0.3.18/mysql2/mysql2.bundle from /Users/rich/.rvm/gems/ruby-2.1.5/gems/mysql2-0.3.18/lib/mysql2.rb:31:in `<top (required)>' from mo.rb:5:in `require' from mo.rb:5:in `<main>' Given that this is an important gem, how can it not be loaded? Any advice appreciated. Cheers
Back to comp.lang.ruby | Previous | Next | Find similar
2.1.5 & require 'mysql2' beerich@gmail.com - 2015-04-18 06:20 -0700
csiph-web