method

exec_bundle_command

rails latest stable - Class: Rails::Generators::BundleHelper

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

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