Ubuntu

/user.slice/user-1000.slice/session-2145.scope is not a snap cgroup

Chromium Browser in Ubuntu Recently, I need to use headless Chromium Browser to running bot for some purpose, but it is not smooth as the documentation says. Error while using headless Chrome $ /usr/bin/chromium-browser –help /user.slice/user-1000.slice/session-2145.scope is not a snap cgroup Installing dbus-user-session # sudo apt-get install dbus-user-session Reading package lists… Done Building dependency tree… Done Reading state information… Done dbus-user-session is already the newes[…]

/user.slice/user-1000.slice/session-2145.scope is not a snap cgroup Read More »

An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue.

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

An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue. Read More »