Skip to content

kennx/demo-sinatra

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published