Skip to content

Instantly share code, notes, and snippets.

@ricardochimal
Created May 20, 2009 23:37
Show Gist options
  • Save ricardochimal/115160 to your computer and use it in GitHub Desktop.
Save ricardochimal/115160 to your computer and use it in GitHub Desktop.
require 'rubygems'
gem 'data_objects', '= 0.9.11'
gem 'dm-core', '= 0.9.11'
require 'myapp'
run Sinatra::Application
require 'sinatra'
require 'dm-core'
DataMapper.setup(:default, ENV['DATABASE_URL'])
get '/' do
"DataObjects::VERSION -> #{DataObjects::VERSION}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment