Skip to content

Commit 1ccead3

Browse files
committed
Bump the mysql2 version
There is an issue that has been fixed with 0.5.6 that solves problem with MySql 8+ client support. This the change that was introduced and it is backwards compatible brianmario/mysql2#1352
1 parent 672b1c0 commit 1ccead3

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

Gemfile.lock

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ GEM
107107
mini_mime (1.1.5)
108108
minitest (5.21.2)
109109
msgpack (1.7.2)
110-
mysql2 (0.5.5)
110+
mysql2 (0.5.6)
111111
net-imap (0.4.9.1)
112112
date
113113
net-protocol
@@ -118,6 +118,8 @@ GEM
118118
net-smtp (0.4.0.1)
119119
net-protocol
120120
nio4r (2.7.0)
121+
nokogiri (1.16.0-arm64-darwin)
122+
racc (~> 1.4)
121123
nokogiri (1.16.0-x86_64-darwin)
122124
racc (~> 1.4)
123125
psych (5.1.2)
@@ -191,6 +193,7 @@ GEM
191193
zeitwerk (2.6.12)
192194

193195
PLATFORMS
196+
arm64-darwin-23
194197
x86_64-darwin-21
195198

196199
DEPENDENCIES

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ The goal of this Ruby on Rails & React homework assignment is to assess your abi
33

44
This repository mocks a CRM in the simplest of terms by demonstrating the one to many relationship of Companies to Deals and visualizng various attributes of each to our users.
55

6-
Unfortunately, the current implementation is (intentionally) naive and not working as expected in several ways.
6+
Unfortunately, the current implementation is (intentionally) naive and not working as expected in several ways.
77

88
Your primary task with this homework assignment is to resolve the user stories below.
99

@@ -32,14 +32,24 @@ Assumptions to make regarding the user story for this service:
3232
#### Running the App
3333
- `bin/dev`
3434

35+
#### Installing the `mysql2` Gem
36+
37+
If you encounter issues with the `mysql2` gem, ensure that you provide paths to the necessary libraries. Use the following command:
38+
39+
```bash
40+
gem install mysql2 --version=0.5.6 -- --with-mysql-config=/opt/homebrew/bin/mysql_config --with-openssl-dir=/opt/homebrew/opt/openssl@3.2 --with-opt-lib=/opt/homebrew/lib
41+
```
42+
43+
This command specifies the paths for the MySQL configuration and OpenSSL directory, which can resolve common installation problems.
44+
3545
#### Submission
3646
- Clone the repository
3747
- Setup a new repository with the source code
3848
- Implement solution
3949
- Push your solution to a new branch
4050
- Create a Pull Request within the new repository
41-
- When you're ready, share a link to the Pull Request with us
42-
51+
- When you're ready, share a link to the Pull Request with us
52+
4353

4454
## FAQ
4555
#### How will I be evaluated?

0 commit comments

Comments
 (0)