Skip to content
Snippets Groups Projects
Unverified Commit c98a1384 authored by ArtOfCode's avatar ArtOfCode Committed by GitHub
Browse files

Merge pull request #90 from luong-komorebi/luong-komorebi/no-issue-number/setup-for-mac

Add instruction on installing dependencies for Mac
parents 34f85e69 c22780c0
No related branches found
No related tags found
No related merge requests found
...@@ -279,6 +279,7 @@ GEM ...@@ -279,6 +279,7 @@ GEM
PLATFORMS PLATFORMS
ruby ruby
x64-mingw32 x64-mingw32
x86_64-darwin-19
DEPENDENCIES DEPENDENCIES
awesome_print (~> 1.8) awesome_print (~> 1.8)
......
...@@ -10,12 +10,24 @@ it before following these instructions. ...@@ -10,12 +10,24 @@ it before following these instructions.
### Install prerequisites ### Install prerequisites
For Linux:
```
sudo apt update sudo apt update
sudo apt install gcc sudo apt install gcc
sudo apt install make sudo apt install make
sudo apt install libmysqlclient-dev sudo apt install libmysqlclient-dev
sudo apt install autoconf bison build-essential libssl-dev libyaml-dev libreadline-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev sudo apt install autoconf bison build-essential libssl-dev libyaml-dev libreadline-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev
sudo apt install mysql-server sudo apt install mysql-server
```
For Mac:
```
xcode-select --install
brew install mysql bison openssl mysql-client
bundle config --global build.mysql2 --with-opt-dir="$(brew --prefix openssl)"
```
### Install JS runtime ### Install JS runtime
If you already have Node.JS installed, you can skip this step. If not, [download and install it](https://nodejs.org/en/download/). If you already have Node.JS installed, you can skip this step. If not, [download and install it](https://nodejs.org/en/download/).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment