Skip to content

Instantly share code, notes, and snippets.

@yahonda
Last active November 10, 2023 09:55
Show Gist options
  • Save yahonda/ba24a9c39b134f578cbf2a27632ca401 to your computer and use it in GitHub Desktop.
Save yahonda/ba24a9c39b134f578cbf2a27632ca401 to your computer and use it in GitHub Desktop.
  • 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 and activerecord_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
@yahonda
Copy link
Author

yahonda commented Sep 20, 2023

@yahonda
Copy link
Author

yahonda commented Sep 20, 2023

@yahonda
Copy link
Author

yahonda commented Sep 20, 2023

@sinsoku
Copy link

sinsoku commented Sep 20, 2023

@yahonda
Copy link
Author

yahonda commented Sep 20, 2023

@yahonda
Copy link
Author

yahonda commented Sep 20, 2023

@yahonda
Copy link
Author

yahonda commented Sep 20, 2023

@kamipo
Copy link

kamipo commented Sep 20, 2023

@kamipo
Copy link

kamipo commented Sep 20, 2023

@kamipo
Copy link

kamipo commented Sep 20, 2023

(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/kamipo/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

@sinsoku
Copy link

sinsoku commented Sep 20, 2023

@kamipo
Copy link

kamipo commented Sep 20, 2023

export LDFLAGS="-L/opt/homebrew/opt/sqlite/lib"
export CPPFLAGS="-I/opt/homebrew/opt/sqlite/include"

@kamipo
Copy link

kamipo commented Nov 10, 2023

brew install pkg-config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment