Skip to content

Instantly share code, notes, and snippets.

@CirrusThink
Created July 14, 2016 15:12
Show Gist options
  • Save CirrusThink/6f96b45cead313201c01a704b94e7c64 to your computer and use it in GitHub Desktop.
Save CirrusThink/6f96b45cead313201c01a704b94e7c64 to your computer and use it in GitHub Desktop.
I am listing the directories, I don't know which one is the Makefile, or I dont see it
~/.rvm/rubies/ruby-2.2.4/lib/ruby/gems/2.2.0/gems/mysql2-0.4.4$ ls -lh *
-rw-r--r-- 1 dolly staff 87 Jul 12 13:34 CHANGELOG.md
-rw-r--r-- 1 dolly staff 1.1K Jul 12 13:34 LICENSE
-rw-r--r-- 1 dolly staff 23K Jul 12 13:34 README.md
examples:
total 9.0K
-rw-r--r-- 1 dolly staff 463 Jul 12 13:34 eventmachine.rb
-rw-r--r-- 1 dolly staff 576 Jul 12 13:34 threaded.rb
ext:
total 8.5K
drwxr-xr-x 2 dolly staff 24 Jul 12 13:34 mysql2
lib:
total 13K
drwxr-xr-x 2 dolly staff 11 Jul 12 13:34 mysql2
-rw-r--r-- 1 dolly staff 2.8K Jul 12 13:34 mysql2.rb
spec:
total 48K
-rw-r--r-- 1 dolly staff 245 Jul 12 13:34 configuration.yml.example
drwxr-xr-x 2 dolly staff 3 Jul 12 13:34 em
-rw-r--r-- 1 dolly staff 105 Jul 12 13:34 my.cnf.example
drwxr-xr-x 2 dolly staff 6 Jul 12 13:34 mysql2
-rw-r--r-- 1 dolly staff 65 Jul 12 13:34 rcov.opts
-rw-r--r-- 1 dolly staff 2.9K Jul 12 13:34 spec_helper.rb
drwxr-xr-x 2 dolly staff 15 Jul 12 13:34 ssl
-rw-r--r-- 1 dolly staff 15 Jul 12 13:34 test_data
support:
total 18K
-rw-r--r-- 1 dolly staff 4.5K Jul 12 13:34 libmysql.def
-rw-r--r-- 1 dolly staff 2.1K Jul 12 13:34 mysql_enc_to_ruby.rb
-rw-r--r-- 1 dolly staff 1.5K Jul 12 13:34 ruby_enc_to_mysql.rb
~/.rvm/rubies/ruby-2.2.4/lib/ruby/gems/2.2.0/extensions/x86-solaris-2.11/2.2.0/mysql2-0.4.4$ ls -l *
-rw-r--r-- 1 dolly staff 976 Jul 12 13:34 gem_make.out
-rw-r--r-- 1 dolly staff 0 Jul 12 13:34 gem.build_complete
-rw-r--r-- 1 dolly staff 34389 Jul 12 13:34 mkmf.log
mysql2:
total 905
-rwxr-xr-x 1 dolly staff 848536 Jul 11 12:37 mysql2.so
@CirrusThink
Copy link
Author

And the gemspec

~/.rvm/rubies/ruby-2.2.4/lib/ruby/gems/2.2.0/specifications$ cat mysql2-0.4.4.gemspec

-- encoding: utf-8 --

stub: mysql2 0.4.4 ruby lib

stub: ext/mysql2/extconf.rb

Gem::Specification.new do |s|
s.name = "mysql2"
s.version = "0.4.4"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["Brian Lopez", "Aaron Stone"]
s.date = "2016-04-19"
s.email = ["[email protected]", "[email protected]"]
s.extensions = ["ext/mysql2/extconf.rb"]
s.files = ["ext/mysql2/extconf.rb"]
s.homepage = "http://github.com/brianmario/mysql2"
s.licenses = ["MIT"]
s.rdoc_options = ["--charset=UTF-8"]
s.rubygems_version = "2.4.8"
s.summary = "A simple, fast Mysql library for Ruby, binding to libmysql"

s.installed_by_version = "2.4.8" if s.respond_to? :installed_by_version
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment