I am a software engineer, consultant and CEO at 41studio currently living in West Java, Indonesia. My interests range from programming to sport. I am also interested in entrepreneurship, technology, and design.

Install RabbitMQ on Mojave

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Ā   

Error: “checking for my_bool in mysql.h… no” While Installing MySQL2 Gem on Mojave

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

Error while install mysql2 ruby gem

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 […]

Nginx error : [emerg] mkdir() “/var/cache/nginx/client_temp” failed (13: Permission denied)

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 Error “checking for libpq-fe.h… no” While Installing PG Gem on Ubuntu & Mac

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/ Just change the pg gem version and PostgreSQL version depending on your need.

Scroll to Top