Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit b632ed2a4398df1d9cf3405f18d33fb8b24d545c @steveklabnik committed Oct 29, 2011
Showing with 30 additions and 0 deletions.
  1. +4 −0 README.md
  2. +15 −0 bin/compile
  3. +9 −0 bin/detect
  4. +2 −0 bin/release
@@ -0,0 +1,4 @@
+Heroku buildpack: Rubinius
+==========================
+
+This is a buildpack for Rubinius.
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+indent() {
+ sed -u 's/^/ /'
+}
+
+echo "-----> Found a rackup file"
+
+# if gemfile exists, bundle
+if [ -s $1/Gemfile ]; then
+ echo "Gemfile found, bundling" | indent
+ bundle
+ exit 1
+fi
+
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# this pack is valid for apps with a config.ru in the root
+if [ -f $1/config.ru ]; then
+ echo "rack"
+ exit 0
+else
+ exit 1
+fi
@@ -0,0 +1,2 @@
+#!/bin/sh
+

0 comments on commit b632ed2

Please sign in to comment.