config/proc.sh in traquitana-0.1.8 vs config/proc.sh in traquitana-0.1.9
- old
+ new
@@ -195,10 +195,10 @@
if [ "${basedir}" == "/home/${owner}" ]; then
msg "Performing a \e[1mlocal gem install on home dir\e[0m"
bundle install --without development test
# if user is not root and gemdir is not the home dir, install on vendor
else
- local version=$(bundle -v | grep -o -e "[0-9]\.[0-9]\.[0-9]" | cut -d'.' -f1)
+ local version=$(bundle -v | grep -o -e "[0-9]\+\.[0-9]\+\.[0-9]\+" | cut -d'.' -f1)
msg "Performing a \e[1mlocal gem install on vendor/bundle with bundler version $version\e[0m"
# bundler version 2 doesnt have anymore those flags below
if [ $version -ge 2 ]; then
bundle config --local set path 'vendor/bundle'