I have Windows 7. I am trying to get the gem installed for MySQL
Server 5.5
So, I get the zip file for gem from Brian Mario’s repository on github
mysql2, extract it in the new mysql2-0.3.12b5 folder and start the
procedure as follows. As seen below, I get the error “file
''lib'' not
found” at the end. I tried many times, got the same problem. Anyone
has a solution to this?
EDZIBA-PC
/c/railsinstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.12b5
$ gem build mysql2.gemspec
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
WARNING: no description specified
Successfully built RubyGem
Name: mysql2
Version: 0.3.12b5
File: mysql2-0.3.12b5.gem
EDZIBA-PC
/c/railsinstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.12b5
$ subst X: "C:\Program Files\MySQL\MySQL Server 5.5"
Drive already SUBSTed
EDZIBA-PC
/c/railsinstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.12b5
$ gem install mysql2-0.3.12b5.gem --platform=ruby -- --with-mysql-dir=X:
--with-mysql-lib=X:\lib
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Successfully installed mysql2-0.3.12b5
1 gem installed
Installing ri documentation for mysql2-0.3.12b5...
file ''lib'' not found
Installing RDoc documentation for mysql2-0.3.12b5...
file ''lib'' not found
--
Posted via http://www.ruby-forum.com/.
--
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
For more options, visit https://groups.google.com/groups/opt_out.