Blame view

script/bootstrap 460 Bytes
9d3e514b9   John Barnette   Initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 "$@"