Browse code

Vendor the gems installed during asset compilation instead of using global

Clayton Coleman authored on 2014/10/04 00:20:46
Showing 2 changed files
... ...
@@ -2,5 +2,6 @@ node_modules
2 2
 dist
3 3
 .tmp
4 4
 .sass-cache
5
+.bundle
5 6
 bower_components
6 7
 Gemfile.lock
... ...
@@ -31,7 +31,7 @@ fi
31 31
 pushd ${hackdir}/../assets > /dev/null
32 32
   npm install
33 33
   bower install
34
-  bundle install
34
+  bundle install --path ${hackdir}/../assets/.bundle
35 35
 popd > /dev/null
36 36
 
37 37
 pushd ${hackdir}/../Godeps/_workspace > /dev/null
... ...
@@ -39,4 +39,4 @@ pushd ${hackdir}/../Godeps/_workspace > /dev/null
39 39
   pushd src/github.com/jteeuwen/go-bindata > /dev/null
40 40
     GOPATH=$godep_path go install ./...
41 41
   popd > /dev/null
42
-popd > /dev/null
43 42
\ No newline at end of file
43
+popd > /dev/null