Gem files will remain installed in /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/mysql2-0.5.2 for inspection. Results logged to /var/www/discourse/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0-static/mysql2-0.5.2/gem_make.out An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue. Make sure that gem install mysql2 -v ‘0.5.2’ –source ‘https://rubygems.org/’ succeeds before bundling. In Gemfile: mysql2 I found the best way to solve the problem. I think that you may missing Continue reading “An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue.”
Tag Archives: Ruby
`require’: cannot load such file — php_serialize (LoadError)
I’m running some of the Ruby script inside Docker and it show me this error. The solution I use to solve it using the way below. First, goto the path of your Gemfile echo “gem ‘php-serialize’” >>Gemfile bundle install
