Added rack-cors gem and ran bundle install
Added block from https://github.com/cyu/rack-cors into app/config/application.rb