Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simple implementation of PusherApp with Ruby on Rails

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.ru
README.md

Fork Notes

This fork contains a few enhancements to the API to support the iOS counterpart.

Getting started locally

$ bundle install

Edit config/database.yml and then set up the database

$ rake db:setup

Add some Pusher credentials in config/initializers/pusher.rb

Start the server

$ script/rails server

Visit http://localhost:3000/ in two browsers and start chatting.

Debugging

If something isn't working it's most likely the Pusher credentials:

  • Take a look at the Rails log for any Pusher errors
  • Enable javascript debugging on line 20 of public/javascripts/chat.js
Something went wrong with that request. Please try again.