github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

CarlosGabaldon / my_way

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

My Way sung by Sinatra — Read more

  cancel

http://carlosgabaldon.com/calabro/blog/post/2008/04/14/Singing_with_Sinatra

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Upgrading to DM 0.9 
Carlos Gabaldon (author)
Thu Apr 24 21:14:25 -0700 2008
commit  560d406f2d37bb3add97d569a8522410d0f14d8c
tree    b62274c9ddca56ca7f0ac7676fc4c09134d4fcf5
parent  c089434523c76f2c0b9aabd85aede8ab3306ecf6
my_way /
name age
history
message
file .gitignore Loading commit data...
file README.rdoc
file blog.rb
directory db/
directory public/
directory views/
README.rdoc

My Way - sung by Sinatra

  Copyright (c) 2008 Carlos Gabaldon <carlosgabaldon.com>, released under the MIT license

  project page: http://github.com/CarlosGabaldon/my_way/
  project repo: git://github.com/CarlosGabaldon/my_way.git

  Blog that dances to Sinatra:
  SQLite:     http://www.sqlite.org/
  DataMapper: http://datamapper.org/
  Sinatra:    http://sinatrarb.com/
  Haml:       http://haml.hamptoncatlin.com/
  SASS:       http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html

SET THE STAGE

RUBY

  $ curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.gz
  $ tar xzvf ruby-1.8.6.tar.gz
  $ cd ruby-1.8.6
  $ ./configure --prefix=/usr/local --enable-pthread --with-readline-dir=/usr/local --enable-shared
  $ make
  $ sudo make install
  $ sudo make install-doc
  $ ruby -v
  $ ruby 1.8.6

SQLITE

  $ wget http://www.sqlite.org/sqlite-3.5.4.tar.gz
  $ tar xvfz sqlite-3.5.4.tar.gz
  $ cd sqlite-3.5.4
  $ ./configure --prefix=/usr/local
  $ make
  $ sudo make install

GEMS

  $ sudo gem install sinatra
  $ sudo gem install datamapper
  $ sudo gem install syntaxi
  $ sudo gem install do_sqlite3
  $ sudo gem install rspec
  $ sudo gem install --no-ri haml

TEXTMATE

  $ cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
  $ svn co "http://macromates.com/svn/Bundles/trunk/Bundles/Ruby Haml.tmbundle"

Dance

  $ cd my_way
  $ ruby blog.rb
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server