This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get install android-tools-fastboot | |
$ sudo apt-get install android-tools-adb | |
Download Factory Image for your device from | |
https://developers.google.com/android/nexus/images | |
Enable USB debugging(www.youtube.com/watch?v=KWYFer-cxCU) on you device and connect it | |
Run: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start Puma | |
RAILS_ENV=development bundle exec puma -C ./config/puma.rb | |
curl -i http://localhost:3001/events/141/check | |
output: | |
data: {"time":"2014-05-25 16:41:39"} | |
data: {"time":"2014-05-25 16:41:40"} | |
data: {"time":"2014-05-25 16:41:41"} |