tag:blogger.com,1999:blog-924015769731377256.post4847664705543939816..comments2024-02-12T21:20:40.717-08:00Comments on Paul's Software Blog: Getting mysql2 gem to work with Ruby on Rails 3.0 and Windows 7 64bitUnknownnoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-924015769731377256.post-83560849480995729582011-11-27T14:22:47.000-08:002011-11-27T14:22:47.000-08:00gem uninstall mysql2gem uninstall mysql2lya Michlinhttps://www.blogger.com/profile/05069283452753266579noreply@blogger.comtag:blogger.com,1999:blog-924015769731377256.post-38657405956558963462011-11-16T13:39:46.096-08:002011-11-16T13:39:46.096-08:00how to uninstall mysql2 gem on windows 32bits ?how to uninstall mysql2 gem on windows 32bits ?John Doehttps://www.blogger.com/profile/09366177873490689529noreply@blogger.comtag:blogger.com,1999:blog-924015769731377256.post-49889151296586837842011-06-11T00:03:52.750-07:002011-06-11T00:03:52.750-07:00The following changes will allow you to create the...The following changes will allow you to create the .gem file without having to rely on git-bash<br /><br />require File.expand_path('../lib/mysql2/version', __FILE__)<br /><br />Gem::Specification.new do |s|<br /> s.name = %q{mysql2}<br /> s.version = Mysql2::VERSION<br /> s.authors = ["Brian Lopez"]<br /> s.date = Time.now.utc.strftime("%Y-%m-%d")<br /> s.email = %q{seniorlopez@gmail.com}<br /> s.extensions = ["ext/mysql2/extconf.rb"]<br /> ignores = File.readlines(".gitignore").grep(/\S+/).map {|s| s.chomp }<br /> dotfiles = [".gitignore", ".rspec"]<br /> s.files = Dir["**/*"].reject {|f| File.directory?(f) || ignores.any? {|i| File.fnmatch(i, f) } } + dotfiles<br /> s.homepage = %q{http://github.com/brianmario/mysql2}<br /> s.rdoc_options = ["--charset=UTF-8"]<br /> s.require_paths = ["lib", "ext"]<br /> s.rubygems_version = %q{1.4.2}<br /> s.summary = %q{A simple, fast Mysql library for Ruby, binding to libmysql}<br /> s.test_files = s.files.grep(/^spec\//)<br /><br /> # tests<br /> s.add_development_dependency 'eventmachine'<br /> s.add_development_dependency 'rake-compiler', "~> 0.7.7"<br /> s.add_development_dependency 'rspec'<br /> # benchmarks<br /> s.add_development_dependency 'activerecord'<br /> s.add_development_dependency 'mysql'<br /> s.add_development_dependency 'do_mysql'<br /> s.add_development_dependency 'sequel'<br /> s.add_development_dependency 'faker'<br />end<br /><br />Thanks for your post, helped a bunch.Mark Pollackhttps://www.blogger.com/profile/03475995335411875143noreply@blogger.comtag:blogger.com,1999:blog-924015769731377256.post-49492792995326378912011-06-09T00:59:28.816-07:002011-06-09T00:59:28.816-07:00Hi Lanesa,
You can download Git Bash here: http:/...Hi Lanesa,<br /><br />You can download Git Bash here: http://git-scm.com/. <br /><br />Then when you open it up type: "cd C:\Ruby192\lib\ruby\gems\1.9.1\gems\mysql2-0.2.7" to go to that directory or wherever you put the folder. Then you should be able to type "gem build mysql2.gemspec".<br /><br />Let me know if you need any more help, and good luck!paulsfdshttps://www.blogger.com/profile/11020869757223165969noreply@blogger.comtag:blogger.com,1999:blog-924015769731377256.post-29481872950487436422011-06-08T23:20:08.909-07:002011-06-08T23:20:08.909-07:00Hi I'm new to Ruby on Rails and watching some ...Hi I'm new to Ruby on Rails and watching some the new Ruby on Rails 3.0 training and got stuff with installing mysql2. I've followed all your instructions but i don't now how to use the Git Bash on step 5. to the build the gem.Anonymoushttps://www.blogger.com/profile/13998913577263683545noreply@blogger.com