diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f13e1da --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/.bundle +/vendor/cache diff --git a/.rbenv-version b/.rbenv-version new file mode 100644 index 0000000..bec3a35 --- /dev/null +++ b/.rbenv-version @@ -0,0 +1 @@ +system diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..932761a --- /dev/null +++ b/Gemfile @@ -0,0 +1,4 @@ +source "http://rubygems.org" + +gem "boxen", "0.0.0", # FIX: just during extraction/porting + :path => File.expand_path("../../boxen", __FILE__) diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..da9bd88 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,33 @@ +PATH + remote: /Users/jbarnette/github/boxen + specs: + boxen (0.0.0) + ansi + json_pure + octokit + +GEM + remote: http://rubygems.org/ + specs: + addressable (2.3.2) + ansi (1.4.3) + faraday (0.8.4) + multipart-post (~> 1.1) + faraday_middleware (0.8.8) + faraday (>= 0.7.4, < 0.9) + hashie (1.2.0) + json_pure (1.7.5) + multi_json (1.3.6) + multipart-post (1.1.5) + octokit (1.15.1) + addressable (~> 2.2) + faraday (~> 0.8) + faraday_middleware (~> 0.8) + hashie (~> 1.2) + multi_json (~> 1.3) + +PLATFORMS + ruby + +DEPENDENCIES + boxen (= 0.0.0)! diff --git a/README.md b/README.md new file mode 100644 index 0000000..2580f1c --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Our Boxen diff --git a/script/bootstrap b/script/bootstrap new file mode 100755 index 0000000..6dd1254 --- /dev/null +++ b/script/bootstrap @@ -0,0 +1,19 @@ +#!/bin/sh +# Make sure all our local dependencies are available. + +# FIX: only sudo if gem home isn't writable + +(gem spec bundler -v '~> 1.2.0' > /dev/null 2>&1) || + sudo gem install bundler --no-rdoc --no-ri + +# We don't want old config hanging around. + +rm -rf .bundle/config + +# Export CC to explicitly set the compiler used for cexts. + +export CC=gcc + +# Bundle install unless we're already up to date. + +bundle install --binstubs bin --path .bundle --quiet "$@"