method
exec_bundle_command
rails latest stable - Class:
Rails::Generators::BundleHelper
exec_bundle_command(bundle_command, command, env, params)private
No documentation available.
# File railties/lib/rails/generators/bundle_helper.rb, line 24
def exec_bundle_command(bundle_command, command, env, params)
full_command = %["#{Gem.ruby}" "#{bundle_command}" #{command}]
if options[:quiet] || params[:quiet]
system(env, full_command, out: File::NULL)
else
system(env, full_command)
end
end