Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby
tree: fda1635443

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
db
logs
public
views
.gitignore
README.rdoc
Rakefile
app_helpers.rb
config.ru
database.yml
main.rb
migrations.rb
people_connect.rb
pix.zip

README.rdoc

Very Boring Sinatra App to Demonstrate Notifications

Prerequisites

  1. Ruby 1.9.2

  2. Install gems activerecord, sinatra, haml, sqlite3-ruby

  3. Install gem mysql*

  4. Run command: rake db_up

  5. Runi command: rackup config.ru

  6. Run app at: localhost:9292

How to install mysql gem on Snow Leopard:

If using bundler,

1.  edit Gemfile to add line for mysql
2.  export ARCHFLAGS="-arch x86_64"
3.  bundle config build.mysql --with-mysql-config=/usr/local/mysql/bin/mysql_config
4.  bundle install

If not using bundler,

env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
Something went wrong with that request. Please try again.