Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Prepare for Cedar migration

  • Loading branch information...
commit 12fe62294de1277a7e008709825821ce126b622c 1 parent 44fad75
Jose Fernandez authored
Showing with 38 additions and 7 deletions.
  1. +0 −4 .gems
  2. +7 −0 Gemfile
  3. +25 −0 Gemfile.lock
  4. +1 −0  Procfile
  5. +5 −3 config.ru
View
4 .gems
@@ -1,4 +0,0 @@
-builder --source=http://gemcutter.org
-rack-rewrite --source=http://gemcutter.org
-rdiscount --source=http://gemcutter.org
-toto --source=http://gemcutter.org --version=">= 0.4.6"
View
7 Gemfile
@@ -0,0 +1,7 @@
+# A sample Gemfile
+source "https://rubygems.org"
+
+gem 'builder'
+gem 'rack-rewrite'
+gem 'rdiscount'
+gem 'toto', :git => "git://github.com/cloudhead/toto.git"
View
25 Gemfile.lock
@@ -0,0 +1,25 @@
+GIT
+ remote: git://github.com/cloudhead/toto.git
+ revision: 7af9a057ad422c591ff2b70fbd425d50dffb0ebc
+ specs:
+ toto (0.4.9)
+ builder
+ rack
+ rdiscount
+
+GEM
+ remote: https://rubygems.org/
+ specs:
+ builder (3.0.0)
+ rack (1.4.1)
+ rack-rewrite (1.2.1)
+ rdiscount (1.6.8)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ builder
+ rack-rewrite
+ rdiscount
+ toto!
View
1  Procfile
@@ -0,0 +1 @@
+web: bundle exec rackup config.ru -p $PORT
View
8 config.ru
@@ -1,5 +1,7 @@
-require 'toto'
-require 'rack-rewrite'
+require 'rubygems'
+require 'bundler'
+
+Bundler.require
DOMAIN = 'www.productionhacks.com'
@@ -48,4 +50,4 @@ toto = Toto::Server.new do
set :date, lambda {|now| now.strftime("%B #{now.day.ordinal} %Y") }
end
-run toto
+run toto
Please sign in to comment.
Something went wrong with that request. Please try again.