Permalink
Browse files

Remove bundle shell function for now

Revert "Helps to actually git add the file."

This reverts commit c1b6666.

Conflicts:

	scripts/functions/bundler
  • Loading branch information...
indirect committed Jun 6, 2011
1 parent 42a34b0 commit e8c1b87e1da57ed9d58d15ba3763f2d19e5f8170
Showing with 0 additions and 29 deletions.
  1. +0 −29 scripts/functions/bundler
View
@@ -1,29 +0,0 @@
-#!/usr/bin/env bash
-
-bundle()
-{
- if (unset bundle ; command -v bundle >/dev/null 2>&1)
- then
- true
- else
- if (unset gem ; command -v gem >/dev/null 2>&1)
- then
- # Ensure that Bundler is installed. Install it if it is not.
- printf "The rubygem 'bundler' is not installed. Installing it now.\n"
- gem install bundler
- else
- printf "Cannot use 'bundler' as 'gem' was not found in the path!.\n"
- fi
- fi
-
- if (unset bundle ; command -v bundle >/dev/null 2>&1)
- then
- if [[ ("$*" =~ 'install' && ! "$*" =~ '--help') || -z "$1" ]]
- then
- printf "Bundling your gems. This may take a few minutes on first run.\n"
- command bundle "$@" --binstubs=$GEM_HOME/bin
- else
- command bundle "$@"
- fi
- fi
-}

0 comments on commit e8c1b87

Please sign in to comment.