Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. pod() {
  2. if [ -f Gemfile ]
  3. then
  4. echo "📦 Using pod from bundler"
  5. if [ ! -d vendor/bundle ]
  6. then
  7. echo "📦 Installing dependencies with bundler..."
  8. bundle install
  9. fi
  10. bundle exec pod $*
  11. else
  12. /usr/bin/env pod $*
  13. fi
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement