R
Rick Tan
Having difficulty installing 'gem install mysql2'. Getting these
gem install mysql2 --
--with-mysql-config=/opt/mysql/mysql/bin/mysql_config --with-opt-include
Building native extensions. This could take a while...
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
--with-mysql-config=/opt/mysql/mysql/bin/mysql_config --with-opt-include
/usr/local/lib/ruby/1.9.1/mkmf.rb:1345:in `dir_config': undefined method
`split' for true:TrueClass (NoMethodError)
from /usr/local/lib/ruby/1.9.1/mkmf.rb:1969:in `init_mkmf'
from /usr/local/lib/ruby/1.9.1/mkmf.rb:1994:in `<top
(required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from extconf.rb:2:in `<main>'
Gem files will remain installed in
/usr/local/lib/ruby/gems/1.9.1/gems/mysql2-0.2.6 for inspection.
Results logged to
/usr/local/lib/ruby/gems/1.9.1/gems/mysql2-0.2.6/ext/mysql2/gem_make.out
Does anybody know what i am missing?
Thanks.
gem install mysql2 --
--with-mysql-config=/opt/mysql/mysql/bin/mysql_config --with-opt-include
Building native extensions. This could take a while...
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
--with-mysql-config=/opt/mysql/mysql/bin/mysql_config --with-opt-include
/usr/local/lib/ruby/1.9.1/mkmf.rb:1345:in `dir_config': undefined method
`split' for true:TrueClass (NoMethodError)
from /usr/local/lib/ruby/1.9.1/mkmf.rb:1969:in `init_mkmf'
from /usr/local/lib/ruby/1.9.1/mkmf.rb:1994:in `<top
(required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from extconf.rb:2:in `<main>'
Gem files will remain installed in
/usr/local/lib/ruby/gems/1.9.1/gems/mysql2-0.2.6 for inspection.
Results logged to
/usr/local/lib/ruby/gems/1.9.1/gems/mysql2-0.2.6/ext/mysql2/gem_make.out
Does anybody know what i am missing?
Thanks.