- It will ask if you want to install all of Xcode,
you don't need that.It turns out you need that for capybara-webkit, so choose "XCode". You can also install from the App Store.
xcode-select --install
sudo xcodebuild -license
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install ack gpg imagemagick sqlite
- It will ask for a root password, anything is fine-- We need it later though
brew install mysql
brew services start mysql
mysql_secure_installation
brew install memcached
brew services start memcached
brew install qt@5.5
echo 'export PATH="$(brew --prefix qt@5.5)/bin:$PATH"' >> ~/.bashrc
brew link --force qt@5.5
- Close all terminals when done with this step
gpg --keyserver hkp://pgp.mit.edu --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash
rails new lbrry bundle rails g scaffold Person name phone age:integer rake db:migrate
rails g scaffold Loan person:references book:references due_date:date return_date:date