- git
- rbenv
- Ruby 2.1.2
- Ruby on Rails 4.0.0
rbenv install 2.1.2
rbenv global 2.1.2
rbenv rehash
gem update --system
printf 'gem: --no-document' >> ~/.gemrc
gem install bundler
gem install rails -v 4.0
git clone [email protected]:kldavis4/DemoChatEventApi.git
cd DemoChatEventApi
bundle install
rake db:create
rake db:schema:load
rake db:schema:load RAILS_ENV=test
rails server
Access API endpoint at http://localhost:3000/events
bundle exec rspec spec