Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

initial

  • Loading branch information...
commit 2a33caaef0fec6d48b96b82fda52bac1a63ff5b5 0 parents
@kei-s authored
Showing with 30 additions and 0 deletions.
  1. +4 −0 Gemfile
  2. +16 −0 Gemfile.lock
  3. +7 −0 app.rb
  4. +3 −0  config.ru
4 Gemfile
@@ -0,0 +1,4 @@
+source 'http://rubygems.org'
+
+gem 'sinatra'
+gem 'github-markup'
16 Gemfile.lock
@@ -0,0 +1,16 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ github-markup (0.5.3)
+ rack (1.3.2)
+ sinatra (1.2.6)
+ rack (~> 1.1)
+ tilt (>= 1.2.2, < 2.0)
+ tilt (1.3.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ github-markup
+ sinatra
7 app.rb
@@ -0,0 +1,7 @@
+require 'sinatra/base'
+
+class Preview < Sinatra::Base
+ get '/' do
+ 'hi'
+ end
+end
3  config.ru
@@ -0,0 +1,3 @@
+dir = File.expand_path(File.dirname(__FILE__))
+require dir+'/app'
+run Preview
Please sign in to comment.
Something went wrong with that request. Please try again.