- macOS Software Update
- Install Xcode
-
git config --global user.name "Your Real Name"
git config --global user.email [email protected]
- Connecting to GitHub with SSH
-
ulimit -n 10240
in ~/.zshrc or whatever - Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install libyaml for Ruby 3.2
brew install libyaml
- Install Ruby 3.2
-
git clone [email protected]:rails/rails.git
-
cd rails ; brew bundle
-
mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root mysql
- Update MySQL timezone at
/opt/homebrew/etc/my.cnf
- Create
rails
user andactiverecord_unittest
,activerecord_unittest2
databases https://github.com/rails/rails-dev-box/blob/master/bootstrap.sh#L47C1-L54C4 -
npm install -g eslint
-
npm install eslint-plugin-import@latest --save-dev
-
bundle install
Last active
November 10, 2023 09:55
-
-
Save yahonda/ba24a9c39b134f578cbf2a27632ca401 to your computer and use it in GitHub Desktop.
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/kamipo/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
export LDFLAGS="-L/opt/homebrew/opt/sqlite/lib"
export CPPFLAGS="-I/opt/homebrew/opt/sqlite/include"
brew install pkg-config
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://bl6.jp/dev/computer/os-x-el-capitan-command-space-from-control-space/