Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Pinball Map
Ruby HTML JavaScript CSS

Merge branch 'issue_382'

latest commit 84b8013f8f
Scott Wainstock authored

Build Status Coverage Status

sweet pinballin' brah

API Documentation

Available here:

Mac Enviroment Setup

Below is a summary of the steps that Brian Hanifin undertook to get the site up and running on OS X 10.9. If you would like to contribute, and have any trouble, please ask.

  • Follow the Ruby install instructions at Make sure you also download ruby-1.9.3.
  • cd /Projects-Path/
  • git clone (I used the SourceTree app instead.)
  • cd /Projects-Path/pbm
  • rvm --default use ruby-1.9.3
  • bundle install
  • selenium install
  • brew update && brew install phantomjs
  • Create config/database.yml with the following:
    adapter: postgresql
    encoding: utf8
    database: pbm_dev
    template: template0
    host: localhost

test: &test
    adapter: postgresql
    encoding: utf8
    database: pbm_test
    template: template0

    adapter: postgresql
    encoding: utf8
    database: pbm
    username: root
    template: template0

    <<: *test
  • brew install postgresql
  • initdb /usr/local/var/postres -E utf8
  • Download Postgres App. (I have mine run at startup on my "Dev" profile.)
  • bundle exec rake db:create ; RAILS_ENV=test bundle exec rake db:create
  • bundle exec rake db:migrate ; RAILS_ENV=test bundle exec rake db:migrate
  • bundle exec rspec
  • rake doc:app (I think this generates documentation for the app, which sounds helpful for later.)
  • curl | sh
  • cd ~/.pow
  • ln -s /Projects-Path/pbm
  • Edit change run Pbm::Application to Pbm::Application (Workaround: so Pow can run the site.)
  • open

If the site loads properly it will be an empty version of, then ask Scott for a data dump so you can have a full set of data to work with.

Something went wrong with that request. Please try again.