A simple implementation of PusherApp with Ruby on Rails
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app Merge github.com:debreczeni/PusherChat-Rails into debreczeni Jan 2, 2012
config
db
lib
public
script
test
vendor/plugins
.gitignore
Gemfile
Gemfile.lock Updating to work under Rails 3.1.3 Dec 2, 2011
README.md
Rakefile
config.ru

README.md

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

$ rails s

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 app/assets/javascripts/chat.js