Overview For the installation we will use homebrew which is popular package manager for MacOS. Installation Make sure the taps are up-to-date before installing: $ brew update Then install its package: $ brew install rabbitmq Add rabbitmq executable path to environment variable: $ export PATH=$PATH:/usr/local/opt/rabbitmq/sbin
The necessary header files location for compiling C extensions had changed on Mojave. You need to run the following command to install mysql2, pg, nokogiri, or other gems that require C extensions : $ sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target / Then install mysql2 gem : $ gem install mysql2 — –with-mysql-config=/usr/local/Cellar/mysql/<mysql_version>/bin/mysql_config
How to fix “An error occurred while installing mysql2 (*)” when install mysql2 ruby gem ? The solution is just run this command on your terminal : On Ubuntu : $ sudo apt-get install libmysqlclient-dev On Redhat / Centos / Fedora : $ sudo yum install mysql-devel On Mac OSX with Homebrew : $ brew […]
The Nginx error “[emerg] mkdir() “/var/cache/nginx/client_temp” failed (13: Permission denied)” is caused by nginx process doesn’t have permission to access this file /var/cache/nginx/client_temp, the solution is change the file ownership and group belongs to the nginx process. If you run the nginx process as nginx and group is nginx then run this : $ sudo […]
How to fix “Uncaught Error: QWeb2: Template ‘reminder_menu’ not found” while installing odoo HRMS module ? the solution is simple, you just need to restart the odoo server with command below : $ sudo service odoo-server restart Good luck!
If you’re facing the same issue as mine on your Ubuntu desktop just run this command on your terminal : sudo service network-manager restart This seems to work out in most cases.
To install redis on your ubuntu 19.04, follow this guide : Update apt package list : sudo apt update Now install redis : sudo apt install redis-server
To resolve it just install these packages : sudo apt-get install build-essential libcurl4-openssl-dev
Desktop Screenshot like Skitch on MacOSX for Ubuntu Desktop can try Flameshot : Github : https://github.com/lupoDharkael/flameshot To install on your Ubuntu : sudo apt update && sudo apt install flameshot
To resolve this error on Ubuntu just run : $ sudo apt-get install libpq-dev And on Mac : gem install pg -v ‘0.20.0’ — –with-pg-config=/Applications/Postgres.app/Contents/Versions/11/bin/pg_config Just change the pg gem version and PostgreSQL version depending on your need.