We had code before to install gems:
gem install rdoc --no-document --ignore-dependencies
But after moving to bundler and Gemfile, I don't see an option to have that ignore-dependencies config.
gem 'rdoc'
The problem it is creating is , rdoc has a dependency on gem > psych , so rdoc downloads the latest version of psych. Latest version (after 5.0.0) of psych seems to break the application.
So is there a way we can ignore dependencies when using bundle and Gemfile ?
psychversion 5 doesn't bundlelibyamlwhich means you need to make sure you have it on your machine. If you have the option to installlibyaml-devplease do it. It resolves the problem.