Installing mysql2 gem errors on Apple silicon M1, M2 or M3 Mac running macOS Sonoma.
Make sure mysql-client, openssl and zstd are installed on Mac via Homebrew.
Replace
mysql-clientwith whichever mysql package you are using
| # 1. Clear retry set | |
| Sidekiq::RetrySet.new.clear | |
| # 2. Clear scheduled jobs | |
| Sidekiq::ScheduledSet.new.clear | |
| # 3. Clear 'Processed' and 'Failed' jobs |
| import React, { Component } from 'react' | |
| import './Movement.css' | |
| class Movement extends Component { | |
| render() { | |
| return ( | |
| <div className={this.movementClass()}> | |
| {this.renderDescription()} | |
| {this.renderAmount()} | |
| </div> |
| import React, { Component } from 'react' | |
| import Tweet from '../Tweet' | |
| import './TweetList.scss' | |
| export default class TweetList extends Component { | |
| buildTweets() { | |
| return this.props.tweets.map((tweet) => { | |
| const props = { | |
| id: tweet.id, |
| import React, { Component } from 'react' | |
| import './Tweet.scss' | |
| class Tweet extends Component { | |
| render() { | |
| return ( | |
| <div className="tweet-container"> | |
| <div className="tweet" data-id={this.props.id}> | |
| <div className="tweet-image"> |
| var ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
| module.exports = { | |
| entry: [ | |
| './src/index.js', | |
| './sass/app.scss' | |
| ], | |
| output: { | |
| path: __dirname, | |
| publicPath: '/', |
| var evt = document.createEvent("MouseEvents"); | |
| evt.initMouseEvent("mouseover", true, true, window,0, 0, 0, 0, 0, false, | |
| false, false, false, 0, null); | |
| $0.dispatchEvent(evt); |
| gem install puma -- --with-cppflags=-I/usr/local/opt/openssl/include --with-ldflags=-L/usr/local/opt/openssl/lib |