I've been there before.
- PostgreSQL
- Ruby
- Bundler
-
Install PostgreSQL
brew install postgresql
-
Install Ruby
brew install rbenv ruby-build rbenv install 2.3.0 rbenv global 2.3.0 gem install bundler
-
Install the bundle
bundle install
If you encounter problems building nokogiri with native extensions, run the following command first:
xcode-select --install
-
Setup the database
# run `brew info postgresql` to checkout how to start it at login postgres -D /usr/local/var/postgres bundle exec rake db:setup
-
Start the app
bundle exec rails-api server
-
Documentation
/apipie