Skip to content

Commit

Permalink
Bump the mysql2 version
Browse files Browse the repository at this point in the history
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
  • Loading branch information
hkraji committed May 14, 2024
1 parent 672b1c0 commit 1ccead3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ GEM
mini_mime (1.1.5)
minitest (5.21.2)
msgpack (1.7.2)
mysql2 (0.5.5)
mysql2 (0.5.6)
net-imap (0.4.9.1)
date
net-protocol
Expand All @@ -118,6 +118,8 @@ GEM
net-smtp (0.4.0.1)
net-protocol
nio4r (2.7.0)
nokogiri (1.16.0-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.0-x86_64-darwin)
racc (~> 1.4)
psych (5.1.2)
Expand Down Expand Up @@ -191,6 +193,7 @@ GEM
zeitwerk (2.6.12)

PLATFORMS
arm64-darwin-23
x86_64-darwin-21

DEPENDENCIES
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ The goal of this Ruby on Rails & React homework assignment is to assess your abi

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.

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

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

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

#### Installing the `mysql2` Gem

If you encounter issues with the `mysql2` gem, ensure that you provide paths to the necessary libraries. Use the following command:

```bash
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
```

This command specifies the paths for the MySQL configuration and OpenSSL directory, which can resolve common installation problems.

#### Submission
- Clone the repository
- Setup a new repository with the source code
- Implement solution
- Push your solution to a new branch
- Create a Pull Request within the new repository
- When you're ready, share a link to the Pull Request with us
- When you're ready, share a link to the Pull Request with us


## FAQ
#### How will I be evaluated?
Expand Down

0 comments on commit 1ccead3

Please sign in to comment.