[from now] 2013/05/23 22:27:14

diff --git a/bin/compile b/bin/compile
index 47ed6b9..8047e9f 100755
--- a/bin/compile
+++ b/bin/compile
@@ -8,8 +8,14 @@ message() {
   echo "-----> $*"
 }

+# Install gems to BUILD_DIR/.gems
+cat << EOF > ~/.gemrc                                                                                                           gemhome: $1/.gems
+gempath:
+- $1/.gems
+EOF
+
 message "Installing bundler"
-gem install bundler | indent
+/usr/local/bin/gem install bundler | indent

 message "Installing gems"
 bundle install | indent