The bundle install command is used during the Redmine installation or installation of some plugins. The most common reason for bundler installation failing is missing libraries, so gems can't compile. Usually, such problems are resolved by installing the necessary system libraries.
The most common error that you will get while running bundle install is as follows:
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
This error indicates that installation of a gem failed, usually console output will give you exact details on which gem failed to compile, and instruction to run
gem install [somegemname] to install this
gem manually instead of through bundler. To see exact ...