As we know,
bundle install command or bundle install --system command will check vendor/cache of an app at first and then system cache, if the gem doesn't exist in both of them, it will install from internet into system cache,
bundle install --deployment command or bundle install --path vendor/bundle command will install from internet into vendor/bundle directory directly,
but --system and --deployment or --path options can not coexist .
Now I want bundle install can check system cache(there has no vendor/cache exist) at first, if exists, it will download it form system cache ,if doesn't exist, it will install from internet into vendor/bundle directory other than system cache.
how can I achieve that goal?