On 08 Oct 2010, at 11:19, Premanshu Mishra wrote:

On bundle install i m getting these errors:

Installing mysql2 (0.2.4) with native extensions
C:/ruby/lib/ruby/1.9.1/rubygems
/installer.rb:483:in `rescue in block in build_extensions': ERROR:
Failed to bui
ld gem native extension. (Gem::Installer::ExtensionBuildError)

C:/ruby/bin/ruby.exe extconf.rb
checking for rb_thread_blocking_region()... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

If then i run
C:\ruby\bin\project1>gem install mysql2
The following is the output

http://stackoverflow.com/questions/3655923/ruby-gem-mysql2-install-error
http://stackoverflow.com/questions/3001243/ruby-rails-mysql2-gem-does-somebody-use-this-gem-is-it-stable
http://ytspar.tumblr.com/post/1187378695/installing-mysql2-0-2-4-gem-on-windows

But since you're just starting off with Rails, I would advise you to simply run a Ubuntu Linux virtual machine (or even completely switch to Linux right away) instead of frustrating yourself with Windows problems and avoid even more issues with native library gems in the future.


Best regards

Peter De Berdt

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to