method
run_cmd_error
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::Tasks::PostgreSQLDatabaseTasks
run_cmd_error(cmd, args, action)private
No documentation available.
# File activerecord/lib/active_record/tasks/postgresql_database_tasks.rb, line 93
def run_cmd_error(cmd, args, action)
msg = "failed to execute:\n"
msg << "#{cmd} #{args.join(' ')}\n\n"
msg << "Please check the output above for any errors and make sure that `#{cmd}` is installed in your PATH and has proper permissions.\n\n"
msg
end