U:RDoc::AnyMethod[iI"run:EFI"Bundler::Installer#run;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"8Runs the install procedures for a specific Gemfile.;To:RDoc::Markup::BlankLineo; ; [I"JFirstly, this method will check to see if Bundler.bundle_path exists ;TI"Jand if not then will create it. This is usually the location of gems ;TI"2on the system, be it RVM or at a system path.;T@o; ; [ I"GSecondly, it checks if Bundler has been configured to be "frozen" ;TI"MFrozen ensures that the Gemfile and the Gemfile.lock file are matching. ;TI"UThis stops a situation where a developer may update the Gemfile but may not run ;TI"Y`bundle install`, which leads to the Gemfile.lock file not being correctly updated. ;TI"LIf this file is not correctly updated then any other developer running ;TI"D`bundle install` will potentially not install the correct gems.;T@o; ; [I"ZThirdly, Bundler checks if there are any dependencies specified in the Gemfile using ;TI"TBundler::Environment#dependencies. If there are no dependencies specified then ;TI"JBundler returns a warning message stating so and this method returns.;T@o; ; [ I"WFourthly, Bundler checks if the default lockfile (Gemfile.lock) exists, and if so ;TI"Xthen proceeds to set up a defintion based on the default gemfile (Gemfile) and the ;TI"bdefault lock file (Gemfile.lock). However, this is not the case if the platform is different ;TI"`to that which is specified in Gemfile.lock, or if there are any missing specs for the gems.;T@o; ; [ I"]Fifthly, Bundler resolves the dependencies either through a cache of gems or by remote. ;TI"\This then leads into the gems being installed, along with stubs for their executables, ;TI"]but only if the --binstubs option has been passed or Bundler.options[:bin] has been set ;TI" earlier.;T@o; ; [I"aSixthly, a new Gemfile.lock is created from the installed gems to ensure that the next time ;TI"Wthat a user runs `bundle install` they will receive any updates from this process.;T@o; ; [I"JFinally: TODO add documentation for how the standalone process works.;T: @fileI"lib/bundler/installer.rb;T:0@omit_headings_from_table_of_contents_below000[I"(options);T@4FI"Installer;TcRDoc::NormalClass00