Method: Bundler::Definition#setup_domain!
- Defined in:
- lib/bundler/definition.rb
permalink #setup_domain!(options = {}) ⇒ Boolean
Setup sources according to the given options and the state of the definition.
189 190 191 192 193 194 195 196 197 198 199 200 |
# File 'lib/bundler/definition.rb', line 189 def setup_domain!( = {}) prefer_local! if [:"prefer-local"] if [:add_checksums] || (![:local] && install_needed?) remotely! true else Bundler.settings.set_command_option(:jobs, 1) unless install_needed? # to avoid the overhead of Bundler::Worker with_cache! false end end |