We have an option to force the gem installation
gem install -f <gemname>
-f, --[no-]force - Force gem to install, bypassing dependency checks
Do we have a similar option in Gemfile.
We are trying to install https://rubygems.org/gems/oci/ which has has a dependency on ruby 2.2.0 . But we are stuck with 2.1.6 in our tech stack. Oracle team has recommend us to force install it, and we have tried it and it works fine. But we need some way to mention it in Gemfile so that the bundler can take this up.