Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump mysql2 gem in assets/sinatra_app to 0.5.2
FIXES: ``` Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /tmp/contents725151073/deps/0/vendor_bundle/ruby/2.4.0/gems/mysql2-0.4.3/ext/mysql2 /tmp/contents725151073/deps/0/ruby/bin/ruby -I /tmp/contents725151073/deps/0/ruby/lib/ruby/site_ruby/2.4.0 -r ./siteconf20190114-60-uzpajc.rb extconf.rb checking for ruby/thread.h... yes checking for rb_thread_call_without_gvl() in ruby/thread.h... yes checking for rb_thread_blocking_region()... no checking for rb_wait_for_single_fd()... yes checking for rb_hash_dup()... yes checking for rb_intern3()... yes ----- Using mysql_config at /usr/bin/mysql_config ----- checking for mysql.h... yes checking for errmsg.h... yes checking for mysqld_error.h... yes ----- Setting libpath to /usr/lib/x86_64-linux-gnu/ ----- creating Makefile current directory: /tmp/contents725151073/deps/0/vendor_bundle/ruby/2.4.0/gems/mysql2-0.4.3/ext/mysql2 make DESTDIR= clean current directory: /tmp/contents725151073/deps/0/vendor_bundle/ruby/2.4.0/gems/mysql2-0.4.3/ext/mysql2 make DESTDIR= compiling client.c In file included from client.c:1:0: ./mysql2_ext.h:14:10: fatal error: mysql_com.h: No such file or directory #include <mysql_com.h> ^~~~~~~~~~~~~ compilation terminated. Makefile:241: recipe for target 'client.o' failed make: *** [client.o] Error 1 make failed, exit code 2 Gem files will remain installed in /tmp/contents725151073/deps/0/vendor_bundle/ruby/2.4.0/gems/mysql2-0.4.3 for inspection. Results logged to /tmp/contents725151073/deps/0/vendor_bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0-static/mysql2-0.4.3/gem_make.out An error occurred while installing mysql2 (0.4.3), and Bundler cannot continue. Make sure that Building native extensions. This could take a while... Successfully installed mysql2-0.4.3 1 gem installed succeeds before bundling. In Gemfile: mysql2 **ERROR** Unable to install gems: exit status 5 ``` Signed-off-by: Alvaro Perez-Shirley <[email protected]>
- Loading branch information