Skip to content

Instantly share code, notes, and snippets.

View iltempo's full-sized avatar
🌈
Occasionally writing some code

Alexander Greim iltempo

🌈
Occasionally writing some code
View GitHub Profile
@fernandoaleman
fernandoaleman / mysql2-m1.md
Last active July 4, 2024 06:22
How to install mysql2 gem on m1 Mac

Problem

Installing mysql2 gem errors on Apple silicon M1, M2 or M3 Mac running macOS Sonoma.

Solution

Make sure mysql-client, openssl and zstd are installed on Mac via Homebrew.

Replace mysql-client with whichever mysql package you are using

A new study finds that, in 42% of companies, low performers actually report being more engaged – more motivated and more likely to enjoy working at their organization, for example – than middle and high performers do.
- http://blogs.wsj.com/atwork/2013/03/27/bad-at-their-jobs-and-loving-it/
@jeremy2
jeremy2 / database.yml.erb
Created March 6, 2012 23:17
Engine Yard custom Chef Recipe for generating database.yml configuration file
#
# This file should be in .../cookbooks/database/templates/default/database.yml.erb
#
<%= @environment %>:
adapter: <%= @adapter %>
database: <%= @database %>
username: <%= @username %>
password: <%= @password %>
host: <%= @host %>