зеркало из https://github.com/mozilla/labs-vcap.git
[dev_setup] Do not use rake
This change removes the assumption that Rake is available at the time of installation and only uses "find" to remove bundler settings. Users can use vcap_dev_setup -a to skip the prompt (DANGEROUS) Change-Id: Ibbf62b739452abc47709d5cb84e9b620ae1e5b1b
This commit is contained in:
Родитель
3de85f2704
Коммит
031019654f
|
@ -91,7 +91,7 @@ function clear_bundler_settings () {
|
|||
read -p "Remembered Bundler options could cause you troubles, do you want me to clear them for you? [Y/n]"
|
||||
[[ $REPLY =~ ^[nN] ]] && return 0
|
||||
fi
|
||||
(cd $CLOUDFOUNDRY_HOME/vcap && rake bundler:reset || find -type d -name .bundle -prune -exec rm -r {} \; )
|
||||
(cd $CLOUDFOUNDRY_HOME/vcap && find -type d -name .bundle -prune -exec rm -r {} \; )
|
||||
}
|
||||
|
||||
# Check if we have access to the web
|
||||
|
|
Загрузка…
Ссылка в новой задаче