Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: uninitialized constant Mysql2::Client::SECURE_CONNECTION #711

Closed
scolobey opened this issue Dec 9, 2015 · 2 comments
Closed

Comments

@scolobey
Copy link

scolobey commented Dec 9, 2015

This thing won't go away. Any suggestions?

rake db:create db:setup --trace

rake aborted!
NameError: uninitialized constant Mysql2::Client::SECURE_CONNECTION
/Library/Ruby/Gems/2.0.0/gems/mysql2-0.3.16/lib/mysql2/client.rb:12:in <class:Client>' /Library/Ruby/Gems/2.0.0/gems/mysql2-0.3.16/lib/mysql2/client.rb:2:inmodule:Mysql2'
/Library/Ruby/Gems/2.0.0/gems/mysql2-0.3.16/lib/mysql2/client.rb:1:in <top (required)>' /Library/Ruby/Gems/2.0.0/gems/mysql2-0.3.16/lib/mysql2.rb:10:in<top (required)>'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:76:in require' /Library/Ruby/Gems/2.0.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:76:inblock (2 levels) in require'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:72:in each' /Library/Ruby/Gems/2.0.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:72:inblock in require'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:in each' /Library/Ruby/Gems/2.0.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:inrequire'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.10.6/lib/bundler.rb:134:in require' /Users/scolobey/megadev/cookpad/global-web/config/application.rb:16:in<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
/Users/scolobey/megadev/cookpad/global-web/Rakefile:4:in <top (required)>' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/rake_module.rb:28:inload'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in load_rakefile' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:689:inraw_load_rakefile'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:94:in block in load_rakefile' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:176:instandard_exception_handling'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:93:in load_rakefile' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:77:inblock in run'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:176:in standard_exception_handling' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:75:inrun'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/bin/rake:33:in <top (required)>' /usr/bin/rake:23:inload'
/usr/bin/rake:23:in `

'

@sodabrew
Copy link
Collaborator

sodabrew commented Dec 9, 2015 via email

@scolobey
Copy link
Author

Seems to have at least helped me on to the next error. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants