Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby 2.3.4 & mysql2-0.5.3 [BUG] Segmentation fault #1320

Open
davidteren opened this issue Jul 12, 2023 · 1 comment
Open

Ruby 2.3.4 & mysql2-0.5.3 [BUG] Segmentation fault #1320

davidteren opened this issue Jul 12, 2023 · 1 comment

Comments

@davidteren
Copy link

davidteren commented Jul 12, 2023

I have spent so much time trying to get a Ruby 2.3.4, Rails 4.2 & mysql2 gem running on a MacBook M2 Pro.

It works on Ruby 2.4+ but unfortunately we have to stick with to the 2.3.4 version of Ruby for several months.
Also I have tested the some versions of Ruby and Rails on the same VM but using SQlite and it all works.
And have tried a bunch of different versions of the mysql2 gem.

Apple M2 Pro
macOS 13.4
Debian 11 (Bullseye) VM via OrbStack
Ruby 2.3.4
Rails 4.2.11.1

I have a test app and easy setup steps here

davidteren@hostname:~/test/test_app$ rake db:create
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.so: [BUG] Segmentation fault at 0x00000000000000
ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0027 p:-11728129136850 s:0101 e:000100 TOP    [FINISH]
c:0026 p:---- s:0099 e:000098 CFUNC  :require
c:0025 p:0306 s:0095 e:000094 TOP    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/mysql2-0.5.3/lib/mysql2.rb:36 [FINISH]
c:0024 p:---- s:0090 e:000089 CFUNC  :require
c:0023 p:0042 s:0086 e:000085 BLOCK  /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:81 [FINISH]
c:0022 p:---- s:0082 e:000081 CFUNC  :each
c:0021 p:0062 s:0079 e:000078 BLOCK  /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:76 [FINISH]
c:0020 p:---- s:0073 e:000072 CFUNC  :each
c:0019 p:0038 s:0070 e:000069 METHOD /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:65
c:0018 p:0019 s:0066 e:000065 METHOD /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.17.3/lib/bundler.rb:114
c:0017 p:0054 s:0062 e:000061 TOP    /home/davidteren/test/test_app/config/application.rb:7 [FINISH]
c:0016 p:---- s:0060 e:000059 CFUNC  :require
c:0015 p:0124 s:0056 e:000055 METHOD /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55
c:0014 p:0020 s:0046 e:000045 TOP    /home/davidteren/test/test_app/Rakefile:4 [FINISH]
c:0013 p:---- s:0044 e:000043 CFUNC  :load
c:0012 p:0010 s:0040 e:000039 METHOD /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/rake_module.rb:29
c:0011 p:0203 s:0036 e:000035 METHOD /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:710
c:0010 p:0008 s:0031 e:000030 BLOCK  /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:104
c:0009 p:0006 s:0029 e:000028 METHOD /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:186
c:0008 p:0009 s:0025 e:000024 METHOD /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:103
c:0007 p:0019 s:0022 e:000021 BLOCK  /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:82
c:0006 p:0006 s:0020 e:000019 METHOD /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:186
c:0005 p:0018 s:0016 e:000015 METHOD /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:80
c:0004 p:0024 s:0012 e:000011 TOP    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/exe/rake:27 [FINISH]
c:0003 p:---- s:0010 e:000009 CFUNC  :load
c:0002 p:0136 s:0006 E:001a20 EVAL   /home/davidteren/.rbenv/versions/2.3.4/bin/rake:22 [FINISH]
c:0001 p:0000 s:0002 E:000e40 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
/home/davidteren/.rbenv/versions/2.3.4/bin/rake:22:in `<main>'
/home/davidteren/.rbenv/versions/2.3.4/bin/rake:22:in `load'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:80:in `run'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:82:in `block in run'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:103:in `load_rakefile'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:104:in `block in load_rakefile'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/application.rb:710:in `raw_load_rakefile'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/rake_module.rb:29:in `load_rakefile'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/rake-13.0.6/lib/rake/rake_module.rb:29:in `load'
/home/davidteren/test/test_app/Rakefile:4:in `<top (required)>'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/home/davidteren/test/test_app/config/application.rb:7:in `<top (required)>'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.17.3/lib/bundler.rb:114:in `require'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `require'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `each'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `block in require'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `each'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in `require'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/mysql2-0.5.3/lib/mysql2.rb:36:in `<top (required)>'
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/mysql2-0.5.3/lib/mysql2.rb:36:in `require'

-- Machine register context ------------------------------------------------
 RIP: 0x00007fffffc571fa RBP: 0x0000555556503a70 RSP: 0x00005554ffffb298
 RAX: 0x0000000000000000 RBX: 0x0000555556d74a40 RCX: 0x0000000000000100
 RDX: 0x0000000000000000 RDI: 0x0000000000000000 RSI: 0x0000000000000000
  R8: 0x000055555641de10  R9: 0x000055555641e210 R10: 0x000000000000000e
 R11: 0x0000000000000020 R12: 0x0000000000000002 R13: 0x0000555556474b28
 R14: 0x0000555556ae8600 R15: 0x00007fffff7e25c0 EFL: 0x0000000000000287

-- C level backtrace information -------------------------------------------
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_vm_bugreport+0x54a) [0x5555557535ba] vm_dump.c:692
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_bug_context+0xd6) [0x55555572b2c6] error.c:435
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(sigsegv+0x3e) [0x55555563376e] signal.c:890
/lib/x86_64-linux-gnu/libpthread.so.0 [0x7ffffffb4140]
/lib/x86_64-linux-gnu/libc.so.6 [0x7fffffc571fa]
/opt/openssl-1.0/lib/libcrypto.so.1.0.0(getrn+0x7c) [0x7fffff89682c]
/opt/openssl-1.0/lib/libcrypto.so.1.0.0(lh_insert+0xbf) [0x7fffff896b1f]
/opt/openssl-1.0/lib/libcrypto.so.1.0.0(OBJ_NAME_add+0x74) [0x7fffff7e2a04]
/lib/x86_64-linux-gnu/libcrypto.so.1.1 [0x7fffff12060e]
/lib/x86_64-linux-gnu/libcrypto.so.1.1 [0x7fffff13bd39]
/lib/x86_64-linux-gnu/libpthread.so.0 [0x7ffffffb134f]
/lib/x86_64-linux-gnu/libcrypto.so.1.1(CRYPTO_THREAD_run_once+0x9) [0x7fffff1a7179]
/lib/x86_64-linux-gnu/libcrypto.so.1.1(OPENSSL_init_crypto+0x24b) [0x7fffff13c2eb]
/lib/x86_64-linux-gnu/libssl.so.1.1(OPENSSL_init_ssl+0x31) [0x7fffff2d5011]
/usr/lib/x86_64-linux-gnu/libmariadb.so.3 [0x7fffff3765ec]
/usr/lib/x86_64-linux-gnu/libmariadb.so.3 [0x7fffff3620f6]
/lib/x86_64-linux-gnu/libpthread.so.0 [0x7ffffffb134f]
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.so(init_mysql2_client+0xc) [0x7fffff39b08c] client.c:1406
/home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.so(Init_mysql2+0x58) [0x7fffff39c428] mysql2_ext.c:11
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(dln_load+0x10a) [0x5555556dc2ea] dln.c:1355
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_vm_call_cfunc+0xbe) [0x5555556c28be] vm.c:1962
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_require_internal+0x2db) [0x55555557e1eb] load.c:1002
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_f_require+0x13) [0x55555557e783] load.c:1043
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_call_cfunc+0xfb) [0x5555556a9e7b] vm_insnhelper.c:1642
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec_core+0x1046) [0x5555556b0e86] insns.def:994
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec+0x71) [0x5555556b5d11] vm.c:1650
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_load_internal0+0xb1) [0x55555557cad1] load.c:619
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_require_internal+0x815) [0x55555557e725] load.c:998
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_f_require+0x13) [0x55555557e783] load.c:1043
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_call_cfunc+0xfb) [0x5555556a9e7b] vm_insnhelper.c:1642
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec_core+0x1046) [0x5555556b0e86] insns.def:994
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec+0x71) [0x5555556b5d11] vm.c:1650
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_yield+0x3af) [0x5555556c1bbf] vm.c:921
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_ary_each+0x3c) [0x5555556dff3c] array.c:1815
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_call_cfunc+0xfb) [0x5555556a9e7b] vm_insnhelper.c:1642
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec_core+0xf5d) [0x5555556b0d9d] insns.def:963
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec+0x71) [0x5555556b5d11] vm.c:1650
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_yield+0x3af) [0x5555556c1bbf] vm.c:921
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_ary_each+0x3c) [0x5555556dff3c] array.c:1815
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_call_cfunc+0xfb) [0x5555556a9e7b] vm_insnhelper.c:1642
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec_core+0xf5d) [0x5555556b0d9d] insns.def:963
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec+0x71) [0x5555556b5d11] vm.c:1650
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_load_internal0+0xb1) [0x55555557cad1] load.c:619
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_require_internal+0x815) [0x55555557e725] load.c:998
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_f_require+0x13) [0x55555557e783] load.c:1043
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_call_cfunc+0xfb) [0x5555556a9e7b] vm_insnhelper.c:1642
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec_core+0x1046) [0x5555556b0e86] insns.def:994
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec+0x71) [0x5555556b5d11] vm.c:1650
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_load_internal0+0xb1) [0x55555557cad1] load.c:619
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_f_load+0x7f) [0x55555557ce7f] load.c:649
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_call_cfunc+0xfb) [0x5555556a9e7b] vm_insnhelper.c:1642
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec_core+0x1046) [0x5555556b0e86] insns.def:994
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec+0x71) [0x5555556b5d11] vm.c:1650
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_load_internal0+0xb1) [0x55555557cad1] load.c:619
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(rb_f_load+0x7f) [0x55555557ce7f] load.c:649
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_call_cfunc+0xfb) [0x5555556a9e7b] vm_insnhelper.c:1642
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec_core+0x1046) [0x5555556b0e86] insns.def:994
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(vm_exec+0x71) [0x5555556b5d11] vm.c:1650
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(ruby_exec_internal+0xa9) [0x555555577c99] eval.c:245
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(ruby_run_node+0x30) [0x55555557ab20] eval.c:310
/home/davidteren/.rbenv/versions/2.3.4/bin/ruby(main+0x4b) [0x5555555778bb] parse.y:4026

-- Other runtime information -----------------------------------------------

* Loaded script: /home/davidteren/.rbenv/versions/2.3.4/bin/rake

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/encdb.so
    5 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/trans/transdb.so
    6 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/unicode_normalize.rb
    7 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/rbconfig.rb
    8 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/compatibility.rb
    9 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/defaults.rb
   10 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/deprecate.rb
   11 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/errors.rb
   12 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/version.rb
   13 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/requirement.rb
   14 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/platform.rb
   15 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/basic_specification.rb
   16 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/stub_specification.rb
   17 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/util/list.rb
   18 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/stringio.so
   19 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/specification.rb
   20 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/exceptions.rb
   21 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/dependency.rb
   22 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb
 ...
  900 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/quiet_assets.rb
  901 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/route_wrapper.rb
  902 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/version.rb
  903 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/railties-4.2.11.1/lib/rails/engine/configuration.rb
  904 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/railties-4.2.11.1/lib/rails/source_annotation_extractor.rb
  905 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/railties-4.2.11.1/lib/rails/application/configuration.rb
  906 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.2/lib/sprockets/railtie.rb
  907 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/railties-4.2.11.1/lib/rails/all.rb
  908 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/string_inquirer.rb
  909 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/mysql2-0.5.3/lib/mysql2/version.rb
  910 /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/mysql2-0.5.3/lib/mysql2/error.rb

* Process memory map:

5554ff7ff000-5554ff800000 ---p 00000000 00:00 0 
5554ff800000-555500000000 rw-p 00000000 00:00 0 
555555554000-555555576000 r--p 00000000 00:26 4506818                    /home/davidteren/.rbenv/versions/2.3.4/bin/ruby
555555576000-555555759000 r-xp 00022000 00:26 4506818                    /home/davidteren/.rbenv/versions/2.3.4/bin/ruby
555555759000-555555823000 r--p 00205000 00:26 4506818                    /home/davidteren/.rbenv/versions/2.3.4/bin/ruby
555555823000-555555824000 ---p 00000000 00:00 0 
555555824000-555555829000 r--p 002cf000 00:26 4506818                    /home/davidteren/.rbenv/versions/2.3.4/bin/ruby
555555829000-55555582a000 rw-p 002d4000 00:26 4506818                    /home/davidteren/.rbenv/versions/2.3.4/bin/ruby
55555582a000-555557c70000 rw-p 00000000 00:00 0 
7ffffd612000-7ffffd660000 r--s 00000000 00:26 4405209                    /usr/lib/x86_64-linux-gnu/libmariadb.so.3
7ffffd660000-7ffffd6f2000 r--s 00000000 00:26 4352476                    /usr/lib/x86_64-linux-gnu/libssl.so.1.1
7ffffd6f2000-7ffffd9e2000 r--s 00000000 00:26 4352336                    /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
7ffffd9e2000-7ffffdc75000 r--s 00000000 00:26 4506806                    /opt/openssl-1.0/lib/libcrypto.so.1.0.0
7ffffdc75000-7ffffde46000 r--s 00000000 00:26 4352324                    /usr/lib/x86_64-linux-gnu/libc-2.31.so
7ffffde46000-7ffffde6b000 r--s 00000000 00:26 4352461                    /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
7ffffde6b000-7ffffef7d000 r--s 00000000 00:26 4506818                    /home/davidteren/.rbenv/versions/2.3.4/bin/ruby
7ffffef7d000-7ffffef80000 r--p 00000000 00:26 4352370                    /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffffef80000-7ffffef91000 r-xp 00003000 00:26 4352370                    /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffffef91000-7ffffef95000 r--p 00014000 00:26 4352370                    /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffffef95000-7ffffef96000 r--p 00017000 00:26 4352370                    /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffffef96000-7ffffef97000 rw-p 00018000 00:26 4352370                    /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffffef97000-7ffffef9a000 r--p 00000000 00:26 4352435                    /usr/lib/x86_64-linux-gnu/libnss_files-2.31.so
7ffffef9a000-7ffffefa1000 r-xp 00003000 00:26 4352435                    /usr/lib/x86_64-linux-gnu/libnss_files-2.31.so
7ffffefa1000-7ffffefa3000 r--p 0000a000 00:26 4352435                    /usr/lib/x86_64-linux-gnu/libnss_files-2.31.so
7ffffefa3000-7ffffefa4000 r--p 0000b000 00:26 4352435                    /usr/lib/x86_64-linux-gnu/libnss_files-2.31.so
7ffffefa4000-7ffffefa5000 rw-p 0000c000 00:26 4352435                    /usr/lib/x86_64-linux-gnu/libnss_files-2.31.so
7ffffefa5000-7ffffefab000 rw-p 00000000 00:00 0 
7ffffefab000-7fffff031000 r--p 00000000 00:26 4352336                    /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
7fffff031000-7fffff1d8000 r-xp 00086000 00:26 4352336                    /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
7fffff1d8000-7fffff269000 r--p 0022d000 00:26 4352336                    /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
7fffff269000-7fffff299000 r--p 002bd000 00:26 4352336                    /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
7fffff299000-7fffff29b000 rw-p 002ed000 00:26 4352336                    /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
7fffff29b000-7fffff29f000 rw-p 00000000 00:00 0 
7fffff29f000-7fffff2bc000 r--p 00000000 00:26 4352476                    /usr/lib/x86_64-linux-gnu/libssl.so.1.1
7fffff2bc000-7fffff30a000 r-xp 0001d000 00:26 4352476                    /usr/lib/x86_64-linux-gnu/libssl.so.1.1
7fffff30a000-7fffff324000 r--p 0006b000 00:26 4352476                    /usr/lib/x86_64-linux-gnu/libssl.so.1.1
7fffff324000-7fffff325000 ---p 00085000 00:26 4352476                    /usr/lib/x86_64-linux-gnu/libssl.so.1.1
7fffff325000-7fffff32e000 r--p 00085000 00:26 4352476                    /usr/lib/x86_64-linux-gnu/libssl.so.1.1
7fffff32e000-7fffff332000 rw-p 0008e000 00:26 4352476                    /usr/lib/x86_64-linux-gnu/libssl.so.1.1
7fffff342000-7fffff358000 r--p 00000000 00:26 4405209                    /usr/lib/x86_64-linux-gnu/libmariadb.so.3
7fffff358000-7fffff37c000 r-xp 00016000 00:26 4405209                    /usr/lib/x86_64-linux-gnu/libmariadb.so.3
7fffff37c000-7fffff386000 r--p 0003a000 00:26 4405209                    /usr/lib/x86_64-linux-gnu/libmariadb.so.3
7fffff386000-7fffff38e000 r--p 00043000 00:26 4405209                    /usr/lib/x86_64-linux-gnu/libmariadb.so.3
7fffff38e000-7fffff390000 rw-p 0004b000 00:26 4405209                    /usr/lib/x86_64-linux-gnu/libmariadb.so.3
7fffff390000-7fffff392000 rw-p 00000000 00:00 0 
7fffff392000-7fffff398000 r--p 00000000 00:26 4857265                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.so
7fffff398000-7fffff3a1000 r-xp 00006000 00:26 4857265                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.so
7fffff3a1000-7fffff3a4000 r--p 0000f000 00:26 4857265                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.so
7fffff3a4000-7fffff3a6000 r--p 00011000 00:26 4857265                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.so
7fffff3a6000-7fffff3a7000 rw-p 00013000 00:26 4857265                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.so
7fffff3a7000-7fffff3a8000 r--p 00000000 00:26 4352047                    /usr/lib/x86_64-linux-gnu/gconv/CP932.so
7fffff3a8000-7fffff3aa000 r-xp 00001000 00:26 4352047                    /usr/lib/x86_64-linux-gnu/gconv/CP932.so
7fffff3aa000-7fffff3bf000 r--p 00003000 00:26 4352047                    /usr/lib/x86_64-linux-gnu/gconv/CP932.so
7fffff3bf000-7fffff3c0000 r--p 00017000 00:26 4352047                    /usr/lib/x86_64-linux-gnu/gconv/CP932.so
7fffff3c0000-7fffff3c1000 rw-p 00018000 00:26 4352047                    /usr/lib/x86_64-linux-gnu/gconv/CP932.so
7fffff3c1000-7fffff3c8000 r--s 00000000 00:26 4352271                    /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7fffff3c8000-7fffff400000 r--p 00000000 00:26 4722945                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/nokogiri-1.10.10/lib/nokogiri/nokogiri.so
7fffff400000-7fffff58e000 r-xp 00038000 00:26 4722945                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/nokogiri-1.10.10/lib/nokogiri/nokogiri.so
7fffff58e000-7fffff5e1000 r--p 001c6000 00:26 4722945                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/nokogiri-1.10.10/lib/nokogiri/nokogiri.so
7fffff5e1000-7fffff5e9000 r--p 00218000 00:26 4722945                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/nokogiri-1.10.10/lib/nokogiri/nokogiri.so
7fffff5e9000-7fffff5ed000 rw-p 00220000 00:26 4722945                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/nokogiri-1.10.10/lib/nokogiri/nokogiri.so
7fffff5ed000-7fffff5ef000 rw-p 00000000 00:00 0 
7fffff5ef000-7fffff5f0000 ---p 00000000 00:00 0 
7fffff5f0000-7fffff66f000 rw-p 00000000 00:00 0 
7fffff66f000-7fffff672000 r--p 00000000 00:26 4352506                    /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
7fffff672000-7fffff683000 r-xp 00003000 00:26 4352506                    /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
7fffff683000-7fffff689000 r--p 00014000 00:26 4352506                    /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
7fffff689000-7fffff68a000 ---p 0001a000 00:26 4352506                    /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
7fffff68a000-7fffff68b000 r--p 0001a000 00:26 4352506                    /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
7fffff68b000-7fffff68c000 rw-p 0001b000 00:26 4352506                    /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
7fffff68f000-7fffff690000 r--p 00000000 00:26 4507603                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/racc/cparse.so
7fffff690000-7fffff693000 r-xp 00001000 00:26 4507603                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/racc/cparse.so
7fffff693000-7fffff694000 r--p 00004000 00:26 4507603                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/racc/cparse.so
7fffff694000-7fffff695000 r--p 00004000 00:26 4507603                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/racc/cparse.so
7fffff695000-7fffff696000 rw-p 00005000 00:26 4507603                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/racc/cparse.so
7fffff696000-7fffff697000 rw-p 00000000 00:00 0 
7fffff697000-7fffff698000 r--p 00000000 00:26 4507616                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/fiber.so
7fffff698000-7fffff699000 r-xp 00001000 00:26 4507616                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/fiber.so
7fffff699000-7fffff69a000 r--p 00002000 00:26 4507616                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/fiber.so
7fffff69a000-7fffff69b000 r--p 00002000 00:26 4507616                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/fiber.so
7fffff69b000-7fffff69c000 rw-p 00003000 00:26 4507616                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/fiber.so
7fffff69c000-7fffff69f000 r--p 00000000 00:26 4507586                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/zlib.so
7fffff69f000-7fffff6a9000 r-xp 00003000 00:26 4507586                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/zlib.so
7fffff6a9000-7fffff6ac000 r--p 0000d000 00:26 4507586                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/zlib.so
7fffff6ac000-7fffff6ad000 r--p 0000f000 00:26 4507586                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/zlib.so
7fffff6ad000-7fffff6ae000 rw-p 00010000 00:26 4507586                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/zlib.so
7fffff6ae000-7fffff6af000 r--p 00000000 00:26 4507626                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/sha2.so
7fffff6af000-7fffff6b0000 r-xp 00001000 00:26 4507626                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/sha2.so
7fffff6b0000-7fffff6b1000 r--p 00002000 00:26 4507626                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/sha2.so
7fffff6b1000-7fffff6b2000 r--p 00002000 00:26 4507626                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/sha2.so
7fffff6b2000-7fffff6b3000 rw-p 00003000 00:26 4507626                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/sha2.so
7fffff6b3000-7fffff6b4000 r--p 00000000 00:26 4507627                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/sha1.so
7fffff6b4000-7fffff6b5000 r-xp 00001000 00:26 4507627                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/sha1.so
7fffff6b5000-7fffff6b6000 r--p 00002000 00:26 4507627                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/sha1.so
7fffff6b6000-7fffff6b7000 r--p 00002000 00:26 4507627                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/sha1.so
7fffff6b7000-7fffff6b8000 rw-p 00003000 00:26 4507627                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/sha1.so
7fffff6b8000-7fffff6b9000 r--p 00000000 00:26 4507630                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/md5.so
7fffff6b9000-7fffff6ba000 r-xp 00001000 00:26 4507630                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/md5.so
7fffff6ba000-7fffff6bb000 r--p 00002000 00:26 4507630                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/md5.so
7fffff6bb000-7fffff6bc000 r--p 00002000 00:26 4507630                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/md5.so
7fffff6bc000-7fffff6bd000 rw-p 00003000 00:26 4507630                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest/md5.so
7fffff6bd000-7fffff6bf000 r--p 00000000 00:26 4702499                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/generator.so
7fffff6bf000-7fffff6c6000 r-xp 00002000 00:26 4702499                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/generator.so
7fffff6c6000-7fffff6c8000 r--p 00009000 00:26 4702499                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/generator.so
7fffff6c8000-7fffff6c9000 r--p 0000a000 00:26 4702499                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/generator.so
7fffff6c9000-7fffff6ca000 rw-p 0000b000 00:26 4702499                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/generator.so
7fffff6ca000-7fffff6cb000 r--p 00000000 00:26 4507638                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_32le.so
7fffff6cb000-7fffff6cc000 r-xp 00001000 00:26 4507638                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_32le.so
7fffff6cc000-7fffff6cd000 r--p 00002000 00:26 4507638                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_32le.so
7fffff6cd000-7fffff6ce000 r--p 00002000 00:26 4507638                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_32le.so
7fffff6ce000-7fffff6cf000 rw-p 00003000 00:26 4507638                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_32le.so
7fffff6cf000-7fffff6d0000 r--p 00000000 00:26 4507639                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_32be.so
7fffff6d0000-7fffff6d1000 r-xp 00001000 00:26 4507639                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_32be.so
7fffff6d1000-7fffff6d2000 r--p 00002000 00:26 4507639                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_32be.so
7fffff6d2000-7fffff6d3000 r--p 00002000 00:26 4507639                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_32be.so
7fffff6d3000-7fffff6d4000 rw-p 00003000 00:26 4507639                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_32be.so
7fffff6d4000-7fffff6d5000 r--p 00000000 00:26 4507640                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_16le.so
7fffff6d5000-7fffff6d6000 r-xp 00001000 00:26 4507640                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_16le.so
7fffff6d6000-7fffff6d7000 r--p 00002000 00:26 4507640                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_16le.so
7fffff6d7000-7fffff6d8000 r--p 00002000 00:26 4507640                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_16le.so
7fffff6d8000-7fffff6d9000 rw-p 00003000 00:26 4507640                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_16le.so
7fffff6d9000-7fffff6db000 r--p 00000000 00:26 4702510                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/parser.so
7fffff6db000-7fffff6df000 r-xp 00002000 00:26 4702510                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/parser.so
7fffff6df000-7fffff6e0000 r--p 00006000 00:26 4702510                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/parser.so
7fffff6e0000-7fffff6e1000 ---p 00007000 00:26 4702510                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/parser.so
7fffff6e1000-7fffff6e2000 r--p 00007000 00:26 4702510                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/parser.so
7fffff6e2000-7fffff6e3000 rw-p 00008000 00:26 4702510                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/parser.so
7fffff6e3000-7fffff6e5000 r--p 00000000 00:26 4507604                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/bigdecimal.so
7fffff6e5000-7fffff6f6000 r-xp 00002000 00:26 4507604                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/bigdecimal.so
7fffff6f6000-7fffff6f9000 r--p 00013000 00:26 4507604                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/bigdecimal.so
7fffff6f9000-7fffff6fa000 ---p 00016000 00:26 4507604                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/bigdecimal.so
7fffff6fa000-7fffff6fb000 r--p 00016000 00:26 4507604                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/bigdecimal.so
7fffff6fb000-7fffff6fc000 rw-p 00017000 00:26 4507604                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/bigdecimal.so
7fffff6fc000-7fffff700000 r--p 00000000 00:26 4507595                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/date_core.so
7fffff700000-7fffff72c000 r-xp 00004000 00:26 4507595                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/date_core.so
7fffff72c000-7fffff732000 r--p 00030000 00:26 4507595                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/date_core.so
7fffff732000-7fffff733000 ---p 00036000 00:26 4507595                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/date_core.so
7fffff733000-7fffff734000 r--p 00036000 00:26 4507595                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/date_core.so
7fffff734000-7fffff735000 rw-p 00037000 00:26 4507595                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/date_core.so
7fffff735000-7fffff736000 rw-p 00000000 00:00 0 
7fffff736000-7fffff738000 r--p 00000000 00:26 4401412                    /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.6
7fffff738000-7fffff752000 r-xp 00002000 00:26 4401412                    /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.6
7fffff752000-7fffff756000 r--p 0001c000 00:26 4401412                    /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.6
7fffff756000-7fffff757000 r--p 0001f000 00:26 4401412                    /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.6
7fffff757000-7fffff758000 rw-p 00020000 00:26 4401412                    /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.6
7fffff758000-7fffff759000 r--p 00000000 00:26 4507642                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_16be.so
7fffff759000-7fffff75a000 r-xp 00001000 00:26 4507642                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_16be.so
7fffff75a000-7fffff75b000 r--p 00002000 00:26 4507642                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_16be.so
7fffff75b000-7fffff75c000 r--p 00002000 00:26 4507642                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_16be.so
7fffff75c000-7fffff75d000 rw-p 00003000 00:26 4507642                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/utf_16be.so
7fffff75d000-7fffff75e000 rw-p 00000000 00:00 0 
7fffff75e000-7fffff760000 r--p 00000000 00:26 4507590                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/strscan.so
7fffff760000-7fffff764000 r-xp 00002000 00:26 4507590                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/strscan.so
7fffff764000-7fffff765000 r--p 00006000 00:26 4507590                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/strscan.so
7fffff765000-7fffff766000 ---p 00007000 00:26 4507590                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/strscan.so
7fffff766000-7fffff767000 r--p 00007000 00:26 4507590                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/strscan.so
7fffff767000-7fffff768000 rw-p 00008000 00:26 4507590                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/strscan.so
7fffff768000-7fffff76a000 r--p 00000000 00:26 4507597                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/psych.so
7fffff76a000-7fffff76d000 r-xp 00002000 00:26 4507597                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/psych.so
7fffff76d000-7fffff76e000 r--p 00005000 00:26 4507597                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/psych.so
7fffff76e000-7fffff76f000 r--p 00005000 00:26 4507597                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/psych.so
7fffff76f000-7fffff770000 rw-p 00006000 00:26 4507597                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/psych.so
7fffff770000-7fffff771000 r--p 00000000 00:26 4507632                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/cgi/escape.so
7fffff771000-7fffff772000 r-xp 00001000 00:26 4507632                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/cgi/escape.so
7fffff772000-7fffff773000 r--p 00002000 00:26 4507632                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/cgi/escape.so
7fffff773000-7fffff774000 r--p 00002000 00:26 4507632                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/cgi/escape.so
7fffff774000-7fffff775000 rw-p 00003000 00:26 4507632                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/cgi/escape.so
7fffff775000-7fffff7de000 r--p 00000000 00:26 4506806                    /opt/openssl-1.0/lib/libcrypto.so.1.0.0
7fffff7de000-7fffff914000 r-xp 00069000 00:26 4506806                    /opt/openssl-1.0/lib/libcrypto.so.1.0.0
7fffff914000-7fffff99d000 r--p 0019f000 00:26 4506806                    /opt/openssl-1.0/lib/libcrypto.so.1.0.0
7fffff99d000-7fffff9b9000 r--p 00227000 00:26 4506806                    /opt/openssl-1.0/lib/libcrypto.so.1.0.0
7fffff9b9000-7fffff9c5000 rw-p 00243000 00:26 4506806                    /opt/openssl-1.0/lib/libcrypto.so.1.0.0
7fffff9c5000-7fffff9c8000 rw-p 00000000 00:00 0 
7fffff9c8000-7fffff9e0000 r--p 00000000 00:26 4506807                    /opt/openssl-1.0/lib/libssl.so.1.0.0
7fffff9e0000-7fffffa1e000 r-xp 00018000 00:26 4506807                    /opt/openssl-1.0/lib/libssl.so.1.0.0
7fffffa1e000-7fffffa30000 r--p 00056000 00:26 4506807                    /opt/openssl-1.0/lib/libssl.so.1.0.0
7fffffa30000-7fffffa31000 ---p 00068000 00:26 4506807                    /opt/openssl-1.0/lib/libssl.so.1.0.0
7fffffa31000-7fffffa35000 r--p 00068000 00:26 4506807                    /opt/openssl-1.0/lib/libssl.so.1.0.0
7fffffa35000-7fffffa3c000 rw-p 0006c000 00:26 4506807                    /opt/openssl-1.0/lib/libssl.so.1.0.0
7fffffa3c000-7fffffa4f000 r--p 00000000 00:26 4507587                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/openssl.so
7fffffa4f000-7fffffa7c000 r-xp 00013000 00:26 4507587                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/openssl.so
7fffffa7c000-7fffffa8b000 r--p 00040000 00:26 4507587                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/openssl.so
7fffffa8b000-7fffffa8d000 r--p 0004e000 00:26 4507587                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/openssl.so
7fffffa8d000-7fffffa8f000 rw-p 00050000 00:26 4507587                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/openssl.so
7fffffa8f000-7fffffa90000 rw-p 00000000 00:00 0 
7fffffa90000-7fffffa91000 r--p 00000000 00:26 4507622                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest.so
7fffffa91000-7fffffa93000 r-xp 00001000 00:26 4507622                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest.so
7fffffa93000-7fffffa94000 r--p 00003000 00:26 4507622                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest.so
7fffffa94000-7fffffa95000 r--p 00003000 00:26 4507622                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest.so
7fffffa95000-7fffffa96000 rw-p 00004000 00:26 4507622                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/digest.so
7fffffa96000-7fffffa98000 r--p 00000000 00:26 4507618                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/io/console.so
7fffffa98000-7fffffa9b000 r-xp 00002000 00:26 4507618                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/io/console.so
7fffffa9b000-7fffffa9c000 r--p 00005000 00:26 4507618                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/io/console.so
7fffffa9c000-7fffffa9d000 r--p 00005000 00:26 4507618                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/io/console.so
7fffffa9d000-7fffffa9e000 rw-p 00006000 00:26 4507618                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/io/console.so
7fffffa9e000-7fffffaa0000 r--p 00000000 00:26 4507596                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/pathname.so
7fffffaa0000-7fffffaa5000 r-xp 00002000 00:26 4507596                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/pathname.so
7fffffaa5000-7fffffaa7000 r--p 00007000 00:26 4507596                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/pathname.so
7fffffaa7000-7fffffaa8000 r--p 00008000 00:26 4507596                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/pathname.so
7fffffaa8000-7fffffaa9000 rw-p 00009000 00:26 4507596                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/pathname.so
7fffffaa9000-7fffffaab000 r--p 00000000 00:26 4507610                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/etc.so
7fffffaab000-7fffffaae000 r-xp 00002000 00:26 4507610                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/etc.so
7fffffaae000-7fffffab0000 r--p 00005000 00:26 4507610                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/etc.so
7fffffab0000-7fffffab1000 r--p 00006000 00:26 4507610                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/etc.so
7fffffab1000-7fffffab2000 rw-p 00007000 00:26 4507610                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/etc.so
7fffffab2000-7fffffab4000 r--p 00000000 00:26 4507589                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/stringio.so
7fffffab4000-7fffffab8000 r-xp 00002000 00:26 4507589                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/stringio.so
7fffffab8000-7fffffaba000 r--p 00006000 00:26 4507589                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/stringio.so
7fffffaba000-7fffffabb000 r--p 00007000 00:26 4507589                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/stringio.so
7fffffabb000-7fffffabc000 rw-p 00008000 00:26 4507589                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/stringio.so
7fffffabc000-7fffffabd000 r--p 00000000 00:26 4507690                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/trans/transdb.so
7fffffabd000-7fffffabf000 r-xp 00001000 00:26 4507690                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/trans/transdb.so
7fffffabf000-7fffffac0000 r--p 00003000 00:26 4507690                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/trans/transdb.so
7fffffac0000-7fffffac1000 r--p 00003000 00:26 4507690                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/trans/transdb.so
7fffffac1000-7fffffac2000 rw-p 00004000 00:26 4507690                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/trans/transdb.so
7fffffac2000-7fffffbc5000 rw-p 00000000 00:00 0 
7fffffbc5000-7fffffbe7000 r--p 00000000 00:26 4352324                    /usr/lib/x86_64-linux-gnu/libc-2.31.so
7fffffbe7000-7fffffd40000 r-xp 00022000 00:26 4352324                    /usr/lib/x86_64-linux-gnu/libc-2.31.so
7fffffd40000-7fffffd8f000 r--p 0017b000 00:26 4352324                    /usr/lib/x86_64-linux-gnu/libc-2.31.so
7fffffd8f000-7fffffd93000 r--p 001c9000 00:26 4352324                    /usr/lib/x86_64-linux-gnu/libc-2.31.so
7fffffd93000-7fffffd95000 rw-p 001cd000 00:26 4352324                    /usr/lib/x86_64-linux-gnu/libc-2.31.so
7fffffd95000-7fffffd99000 rw-p 00000000 00:00 0 
7fffffd99000-7fffffda6000 r--p 00000000 00:26 4352406                    /usr/lib/x86_64-linux-gnu/libm-2.31.so
7fffffda6000-7fffffe40000 r-xp 0000d000 00:26 4352406                    /usr/lib/x86_64-linux-gnu/libm-2.31.so
7fffffe40000-7fffffedb000 r--p 000a7000 00:26 4352406                    /usr/lib/x86_64-linux-gnu/libm-2.31.so
7fffffedb000-7fffffedc000 r--p 00141000 00:26 4352406                    /usr/lib/x86_64-linux-gnu/libm-2.31.so
7fffffedc000-7fffffedd000 rw-p 00142000 00:26 4352406                    /usr/lib/x86_64-linux-gnu/libm-2.31.so
7fffffedd000-7fffffedf000 r--p 00000000 00:26 4352335                    /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7fffffedf000-7fffffef4000 r-xp 00002000 00:26 4352335                    /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7fffffef4000-7ffffff0e000 r--p 00017000 00:26 4352335                    /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7ffffff0e000-7ffffff0f000 r--p 00030000 00:26 4352335                    /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7ffffff0f000-7ffffff10000 rw-p 00031000 00:26 4352335                    /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7ffffff10000-7ffffff18000 rw-p 00000000 00:00 0 
7ffffff18000-7ffffff19000 r--p 00000000 00:26 4352346                    /usr/lib/x86_64-linux-gnu/libdl-2.31.so
7ffffff19000-7ffffff1b000 r-xp 00001000 00:26 4352346                    /usr/lib/x86_64-linux-gnu/libdl-2.31.so
7ffffff1b000-7ffffff1c000 r--p 00003000 00:26 4352346                    /usr/lib/x86_64-linux-gnu/libdl-2.31.so
7ffffff1c000-7ffffff1d000 r--p 00003000 00:26 4352346                    /usr/lib/x86_64-linux-gnu/libdl-2.31.so
7ffffff1d000-7ffffff1e000 rw-p 00004000 00:26 4352346                    /usr/lib/x86_64-linux-gnu/libdl-2.31.so
7ffffff1e000-7ffffff29000 r--p 00000000 00:26 4352374                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7ffffff29000-7ffffff85000 r-xp 0000b000 00:26 4352374                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7ffffff85000-7ffffff9c000 r--p 00067000 00:26 4352374                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7ffffff9c000-7ffffff9d000 ---p 0007e000 00:26 4352374                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7ffffff9d000-7ffffff9e000 r--p 0007e000 00:26 4352374                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7ffffff9e000-7ffffff9f000 rw-p 0007f000 00:26 4352374                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7ffffff9f000-7ffffffa1000 rw-p 00000000 00:00 0 
7ffffffa1000-7ffffffa7000 r--p 00000000 00:26 4352461                    /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
7ffffffa7000-7ffffffb7000 r-xp 00006000 00:26 4352461                    /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
7ffffffb7000-7ffffffbd000 r--p 00016000 00:26 4352461                    /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
7ffffffbd000-7ffffffbe000 r--p 0001b000 00:26 4352461                    /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
7ffffffbe000-7ffffffbf000 rw-p 0001c000 00:26 4352461                    /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
7ffffffbf000-7ffffffc3000 rw-p 00000000 00:00 0 
7ffffffc3000-7ffffffc4000 r--p 00000000 00:26 4507620                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/io/nonblock.so
7ffffffc4000-7ffffffc5000 r-xp 00001000 00:26 4507620                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/io/nonblock.so
7ffffffc5000-7ffffffc6000 r--p 00002000 00:26 4507620                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/io/nonblock.so
7ffffffc6000-7ffffffc7000 r--p 00002000 00:26 4507620                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/io/nonblock.so
7ffffffc7000-7ffffffc8000 rw-p 00003000 00:26 4507620                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/io/nonblock.so
7ffffffc8000-7ffffffc9000 rw-p 00000000 00:00 0 
7ffffffc9000-7ffffffca000 r--p 00000000 00:26 4507669                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/encdb.so
7ffffffca000-7ffffffcb000 r-xp 00001000 00:26 4507669                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/encdb.so
7ffffffcb000-7ffffffcc000 r--p 00002000 00:26 4507669                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/encdb.so
7ffffffcc000-7ffffffcd000 r--p 00002000 00:26 4507669                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/encdb.so
7ffffffcd000-7ffffffce000 rw-p 00003000 00:26 4507669                    /home/davidteren/.rbenv/versions/2.3.4/lib/ruby/2.3.0/x86_64-linux/enc/encdb.so
7ffffffce000-7ffffffcf000 ---p 00000000 00:00 0 
7ffffffcf000-7ffffffd3000 rw-p 00000000 00:00 0 
7ffffffd3000-7ffffffd4000 r--p 00000000 00:26 4352283                    /usr/lib/x86_64-linux-gnu/ld-2.31.so
7ffffffd4000-7fffffff4000 r-xp 00001000 00:26 4352283                    /usr/lib/x86_64-linux-gnu/ld-2.31.so
7fffffff4000-7fffffffc000 r--p 00021000 00:26 4352283                    /usr/lib/x86_64-linux-gnu/ld-2.31.so
7fffffffc000-7fffffffd000 ---p 00000000 00:00 0 
7fffffffd000-7fffffffe000 r--p 00029000 00:26 4352283                    /usr/lib/x86_64-linux-gnu/ld-2.31.so
7fffffffe000-7ffffffff000 rw-p 0002a000 00:26 4352283                    /usr/lib/x86_64-linux-gnu/ld-2.31.so
7ffffffff000-800000000000 rw-p 00000000 00:00 0 
800000000000-800000023000 r--p 00000000 00:25 2                          /mnt/rv/[rosetta]
800000023000-800000080000 r-xp 00023000 00:25 2                          /mnt/rv/[rosetta]
800000080000-800000086000 rw-p 00080000 00:25 2                          /mnt/rv/[rosetta]
ffff94ed8000-ffff950fb000 rw-p 00000000 00:00 0 
ffff950fb000-ffff950fc000 ---p 00000000 00:00 0 
ffff950fc000-ffff95100000 rw-p 00000000 00:00 0 
ffff95100000-ffff95101000 ---p 00000000 00:00 0 
ffff95101000-ffff9516b000 rw-p 00000000 00:00 0 
ffff9516b000-ffff9516c000 ---p 00000000 00:00 0 
ffff9516c000-ffff95170000 rw-p 00000000 00:00 0 
ffff95170000-ffff95171000 ---p 00000000 00:00 0 
ffff95171000-ffff9537c000 rw-p 00000000 00:00 0 
ffff9537c000-ffff9d37c000 rwxp 00000000 00:00 0 
ffff9d37c000-ffff9d385000 rw-p 00000000 00:00 0 
ffff9d385000-ffff9d387000 r--p 00000000 00:00 0                          [vvar]
ffff9d387000-ffff9d388000 r-xp 00000000 00:00 0                          [vdso]
ffffe6bc4000-ffffe6be5000 rw-p 00000000 00:00 0                          [stack]


[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Aborted
@davidteren davidteren changed the title Ruby 2.3.4 mysql2-0.5.3 [BUG] Segmentation fault at 0x00000000000000 Ruby 2.3.4 & mysql2-0.5.3 [BUG] Segmentation fault Jul 12, 2023
@Faq
Copy link

Faq commented Jul 13, 2023

You could try this method what we did in some project to get jruby-9.2.7.0 working on M1 (to get pass Could not find a valid gem 'jruby-launcher')as it is not supported:

$ rbenv install jruby-9.3.10.0
$ mkdir -p /Users/YOUR_USER/.rbenv/versions/jruby-9.2.7.0/lib/ruby/gems/shared/gems
$ cp -R /Users/YOUR_USER/.rbenv/versions/jruby-9.3.10.0/lib/ruby/gems/shared/gems/jruby-launcher-1.1.19-java /Users/YOUR_USER/.rbenv/versions/jruby-9.2.7.0/lib/ruby/gems/shared/gems/
$ rbenv install jruby-9.2.7.0 # will still show error, ignore it.
$ ruby -v # will show jruby-9.2.7.0 and work

Switch to ruby 2.4
I suggest to go with mysql2-0.5.5 if there no requirement for ruby version as it has better support for M1.
In the end you have working mysql2 directory and copy over it after switching ruby version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants