Skip to content

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

@scolobey

Description

@scolobey

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 `

'

Activity

sodabrew

sodabrew commented on Dec 9, 2015

@sodabrew
Collaborator
scolobey

scolobey commented on Dec 10, 2015

@scolobey
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sodabrew@scolobey

        Issue actions

          NameError: uninitialized constant Mysql2::Client::SECURE_CONNECTION · Issue #711 · brianmario/mysql2