diff --git a/Gemfile.lock b/Gemfile.lock index c442782..d03114f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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 @@ -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) @@ -191,6 +193,7 @@ GEM zeitwerk (2.6.12) PLATFORMS + arm64-darwin-23 x86_64-darwin-21 DEPENDENCIES diff --git a/README.md b/README.md index ab870dc..5cd9a6d 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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?