This commit is contained in:
dbye 2014-09-04 10:55:36 +00:00
commit d23bb3c2b8

View file

@ -54,7 +54,7 @@ bundle_install() {
if _bundler-installed && _within-bundled-project; then
local bundler_version=`bundle version | cut -d' ' -f3`
if [[ $bundler_version > '1.4.0' || $bundler_version = '1.4.0' ]]; then
if [[ "$(uname)" == 'Darwin' ]]
if [[ "$(uname)" == 'Darwin' || "$(uname)" == 'FreeBSD' ]]
then
local cores_num="$(sysctl hw.ncpu | awk '{print $2}')"
else