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
?
psych
version 5 doesn't bundle libyaml
which means you need to make sure you have it on your machine. If you have the option to install libyaml-dev
please do it. It resolves the problem.