How can I check if I'm running the C Bindings for Mysql?

As the title says, is there a way to check that I’m running the C
Bindings for Mysql? I did gem install mysql, it worked but my first
reaction was: now what? I can’t seem to find a way to check it actually
worked.

TIA!

Steve D. wrote:

As the title says, is there a way to check that I’m running the C
Bindings for Mysql? I did gem install mysql, it worked but my first
reaction was: now what? I can’t seem to find a way to check it actually
worked.

TIA!

irb(main):001:0> require ‘mysql’
=> false
irb(main):002:0> puts Mysql::VERSION
20701

Jack

Works great, thanks!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs