Commit 8207779c952b7a9421112a059f65edcf1ceb571c
1 parent
93103d85
Exists in
master
and in
22 other branches
Improve quick-start-debian so it finds bundle
quick-start-debian fails when it tries to call bundle but the gems binaries were installed as root. This patch only includes the gemdir on PATH so it can find the bundle executable always (that is, if it *is* installed as a gem).
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
script/quick-start-debian
... | ... | @@ -23,6 +23,7 @@ run sudo apt-get -y install $runtime_dependencies |
23 | 23 | # needed for development |
24 | 24 | run sudo apt-get -y install libtidy-ruby libhpricot-ruby libmocha-ruby imagemagick po4a xvfb libxml2-dev libxslt-dev |
25 | 25 | gem which bundler >/dev/null 2>&1 || run gem install bundler |
26 | +which bundle >/dev/null 2>&1 || export PATH="$(ruby -rubygems -e 'puts Gem.bindir'):$PATH" | |
26 | 27 | run bundle install |
27 | 28 | |
28 | 29 | # create the database with sample data | ... | ... |