Hello Folks.
I want to install mysql2 gem on my Windows Machine.
Mysql installed on that path : C:\Program Files (x86)\MySQL Server 5.5
and i following below command but its occured that error.
*Command.*
gem install mysql2 -v=0.3.11 --platform=ruby --
--with-mysql-include=C:\Program Files (x86)\MySQL Server 5.5\include
--with-mysql-lib=C:\Program Files (x86)\MySQL Server 5.5\lib
--with-mysql-dir=C:\Program Files (x86)\MySQL Server 5.5
*Error.*
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
--with-mysql-include=C:\Program Files (x86)\MySQL Server 5.5\include
--with-mysql-lib=C:\Program Files (x86
r 5.5\lib --with-mysql-dir=C:\Program Files (x86)\MySQL Server 5.5
C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe: No such file or directory --
extconf.rb (LoadError)
Gem files will remain installed in
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11 for
inspection.
Results logged to
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11/ext/mysql2/gem_make.out
Can anyone help me?.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/CAPs6WSdYPZ50W%2BTm4fxWDz%3DC9%2BncpMzc-bjLw6DsZFBXGMfVJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.